POST api/CountryMaster/UploadDetail

Request Information

URI Parameters

None.

Body Parameters

Collection of C_CountryMaster
NameDescriptionTypeAdditional information
Id

integer

None.

CountryName

string

None.

CountryAlias

string

None.

CountryCode

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "CountryName": "sample string 2",
    "CountryAlias": "sample string 3",
    "CountryCode": "sample string 4"
  },
  {
    "Id": 1,
    "CountryName": "sample string 2",
    "CountryAlias": "sample string 3",
    "CountryCode": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_CountryMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <C_CountryMaster>
    <CountryAlias>sample string 3</CountryAlias>
    <CountryCode>sample string 4</CountryCode>
    <CountryName>sample string 2</CountryName>
    <Id>1</Id>
  </C_CountryMaster>
  <C_CountryMaster>
    <CountryAlias>sample string 3</CountryAlias>
    <CountryCode>sample string 4</CountryCode>
    <CountryName>sample string 2</CountryName>
    <Id>1</Id>
  </C_CountryMaster>
</ArrayOfC_CountryMaster>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'C_CountryMaster[]'.

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.