POST api/general/addupdatecountry

Request Information

URI Parameters

None.

Body Parameters

Country
NameDescriptionTypeAdditional information
id

integer

None.

EnName

string

None.

ArName

string

None.

Active

boolean

None.

LocationID

string

None.

AppID

string

None.

GCC

boolean

None.

StateRequired

boolean

None.

UserID

integer

None.

createStatus

boolean

None.

updateStatus

boolean

None.

IsSyncWithBMS

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "EnName": "sample string 2",
  "ArName": "sample string 3",
  "Active": true,
  "LocationID": "sample string 4",
  "AppID": "sample string 5",
  "GCC": true,
  "StateRequired": true,
  "UserID": 1,
  "createStatus": true,
  "updateStatus": true,
  "IsSyncWithBMS": true
}

application/xml, text/xml

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FEAWebServices.EF">
  <Active>true</Active>
  <AppID>sample string 5</AppID>
  <ArName>sample string 3</ArName>
  <EnName>sample string 2</EnName>
  <GCC>true</GCC>
  <IsSyncWithBMS>true</IsSyncWithBMS>
  <LocationID>sample string 4</LocationID>
  <StateRequired>true</StateRequired>
  <UserID>1</UserID>
  <createStatus>true</createStatus>
  <id>1</id>
  <updateStatus>true</updateStatus>
</Country>

multipart/form-data

Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FEAWebServices.EF"><Active>true</Active><AppID>sample string 5</AppID><ArName>sample string 3</ArName><EnName>sample string 2</EnName><GCC>true</GCC><IsSyncWithBMS>true</IsSyncWithBMS><LocationID>sample string 4</LocationID><StateRequired>true</StateRequired><UserID>1</UserID><createStatus>true</createStatus><id>1</id><updateStatus>true</updateStatus></Country>

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 'Country'.

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.