POST api/Common/ITDAPIUsage

Request Information

URI Parameters

None.

Body Parameters

ITDAPIUsage
NameDescriptionTypeAdditional information
CustomerId

integer

None.

ProductId

integer

None.

APIActionUsed

string

None.

APIUsageDate

string

None.

IPAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "ProductId": 2,
  "APIActionUsed": "sample string 3",
  "APIUsageDate": "sample string 4",
  "IPAddress": "sample string 5"
}

application/xml, text/xml

Sample:
<ITDAPIUsage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLibrary">
  <APIActionUsed>sample string 3</APIActionUsed>
  <APIUsageDate>sample string 4</APIUsageDate>
  <CustomerId>1</CustomerId>
  <IPAddress>sample string 5</IPAddress>
  <ProductId>2</ProductId>
</ITDAPIUsage>

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

Response Information

Resource Description

APIResult
NameDescriptionTypeAdditional information
status_cd

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status_cd": "sample string 1",
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<APIResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLibrary">
  <message>sample string 2</message>
  <status_cd>sample string 1</status_cd>
</APIResult>