POST api/Common/ScreenUsage

Request Information

URI Parameters

None.

Body Parameters

Collection of ScreenUsage
NameDescriptionTypeAdditional information
CustomerId

integer

None.

ProductId

integer

None.

Screen

string

None.

UsageCount

integer

None.

UsageDate

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CustomerId": 1,
    "ProductId": 2,
    "Screen": "sample string 3",
    "UsageCount": 4,
    "UsageDate": "sample string 5"
  },
  {
    "CustomerId": 1,
    "ProductId": 2,
    "Screen": "sample string 3",
    "UsageCount": 4,
    "UsageDate": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfScreenUsage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLibrary">
  <ScreenUsage>
    <CustomerId>1</CustomerId>
    <ProductId>2</ProductId>
    <Screen>sample string 3</Screen>
    <UsageCount>4</UsageCount>
    <UsageDate>sample string 5</UsageDate>
  </ScreenUsage>
  <ScreenUsage>
    <CustomerId>1</CustomerId>
    <ProductId>2</ProductId>
    <Screen>sample string 3</Screen>
    <UsageCount>4</UsageCount>
    <UsageDate>sample string 5</UsageDate>
  </ScreenUsage>
</ArrayOfScreenUsage>

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 'List`1'.

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>