POST api/Sites

Request Information

URI Parameters

None.

Body Parameters

SitesRequest
NameDescriptionTypeAdditional information
co_iafa

string

None.

tx_peticion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "co_iafa": "sample string 1",
  "tx_peticion": "sample string 2"
}

application/xml, text/xml

Sample:
<SitesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sites2.Controllers">
  <co_iafa>sample string 1</co_iafa>
  <tx_peticion>sample string 2</tx_peticion>
</SitesRequest>

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

Response Information

Resource Description

SitesRequest
NameDescriptionTypeAdditional information
co_iafa

string

None.

tx_peticion

string

None.

Response Formats

application/json, text/json

Sample:
{
  "co_iafa": "sample string 1",
  "tx_peticion": "sample string 2"
}

application/xml, text/xml

Sample:
<SitesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sites2.Controllers">
  <co_iafa>sample string 1</co_iafa>
  <tx_peticion>sample string 2</tx_peticion>
</SitesRequest>