POST api/Master/UploadCountryMaster

Request Information

URI Parameters

None.

Body Parameters

UploadCountryMasterInput
NameDescriptionTypeAdditional information
CO_CREATED_BY

integer

None.

CO_DETAILS

Collection of CountryMasterList

None.

Request Formats

application/json, text/json

Sample:
{
  "CO_CREATED_BY": 1,
  "CO_DETAILS": [
    {
      "CO_ID": 1,
      "CO_CODE": "sample string 1",
      "CO_NAME": "sample string 2",
      "CO_STATUS_CODE": "sample string 3",
      "CO_F_CODE": "sample string 4",
      "CO_F_NAME": "sample string 5"
    },
    {
      "CO_ID": 1,
      "CO_CODE": "sample string 1",
      "CO_NAME": "sample string 2",
      "CO_STATUS_CODE": "sample string 3",
      "CO_F_CODE": "sample string 4",
      "CO_F_NAME": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<UploadCountryMasterInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <CO_CREATED_BY>1</CO_CREATED_BY>
  <CO_DETAILS>
    <CountryMasterList>
      <CO_CODE>sample string 1</CO_CODE>
      <CO_F_CODE>sample string 4</CO_F_CODE>
      <CO_F_NAME>sample string 5</CO_F_NAME>
      <CO_ID>1</CO_ID>
      <CO_NAME>sample string 2</CO_NAME>
      <CO_STATUS_CODE>sample string 3</CO_STATUS_CODE>
    </CountryMasterList>
    <CountryMasterList>
      <CO_CODE>sample string 1</CO_CODE>
      <CO_F_CODE>sample string 4</CO_F_CODE>
      <CO_F_NAME>sample string 5</CO_F_NAME>
      <CO_ID>1</CO_ID>
      <CO_NAME>sample string 2</CO_NAME>
      <CO_STATUS_CODE>sample string 3</CO_STATUS_CODE>
    </CountryMasterList>
  </CO_DETAILS>
</UploadCountryMasterInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.