POST api/CHAMasters/PostCHACountryMaster
Request Information
URI Parameters
None.
Body Parameters
CountryMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| CO_ID | integer |
None. |
|
| CO_CODE | string |
None. |
|
| CO_NAME | string |
None. |
|
| CO_STATUS | string |
None. |
|
| CO_PROGRAM_ID | string |
None. |
|
| CO_F_CODE | string |
None. |
|
| CO_F_NAME | string |
None. |
|
| CO_CREATED_BY | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CO_ID": 1,
"CO_CODE": "sample string 1",
"CO_NAME": "sample string 2",
"CO_STATUS": "sample string 3",
"CO_PROGRAM_ID": "sample string 4",
"CO_F_CODE": "sample string 5",
"CO_F_NAME": "sample string 6",
"CO_CREATED_BY": 1
}
application/xml, text/xml
Sample:
<CountryMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <CO_CODE>sample string 1</CO_CODE> <CO_CREATED_BY>1</CO_CREATED_BY> <CO_F_CODE>sample string 5</CO_F_CODE> <CO_F_NAME>sample string 6</CO_F_NAME> <CO_ID>1</CO_ID> <CO_NAME>sample string 2</CO_NAME> <CO_PROGRAM_ID>sample string 4</CO_PROGRAM_ID> <CO_STATUS>sample string 3</CO_STATUS> </CountryMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |