POST api/v1/LocationSave

Request Information

URI Parameters

None.

Body Parameters

LocationSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

ID

integer

None.

CountryID

integer

None.

LocName

string

None.

LocAddress

string

None.

LocCity

string

None.

LocPIN

string

None.

LocAbbr

string

None.

LocPhone

string

None.

LocMail

string

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "ID": 2,
  "CountryID": 3,
  "LocName": "sample string 4",
  "LocAddress": "sample string 5",
  "LocCity": "sample string 6",
  "LocPIN": "sample string 7",
  "LocAbbr": "sample string 8",
  "LocPhone": "sample string 9",
  "LocMail": "sample string 10",
  "UserID": 11
}

application/xml, text/xml

Sample:
<LocationSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CountryID>3</CountryID>
  <ID>2</ID>
  <LocAbbr>sample string 8</LocAbbr>
  <LocAddress>sample string 5</LocAddress>
  <LocCity>sample string 6</LocCity>
  <LocMail>sample string 10</LocMail>
  <LocName>sample string 4</LocName>
  <LocPIN>sample string 7</LocPIN>
  <LocPhone>sample string 9</LocPhone>
  <Mode>sample string 1</Mode>
  <UserID>11</UserID>
</LocationSaveInput>

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

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.