POST api/didban/GetPackageUsage

Request Information

URI Parameters

None.

Body Parameters

GetPackageUsageRequest
NameDescriptionTypeAdditional information
ServiceNumber

string

None.

FromDate

string

None.

ToDate

string

None.

PageNumber

string

None.

TrackingCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceNumber": "sample string 1",
  "FromDate": "sample string 2",
  "ToDate": "sample string 3",
  "PageNumber": "sample string 4",
  "TrackingCode": "sample string 5"
}

application/xml, text/xml

Sample:
<GetPackageUsageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicesDomain.Models.Ticket">
  <TrackingCode xmlns="http://schemas.datacontract.org/2004/07/ServicesDomain.Models">sample string 5</TrackingCode>
  <FromDate>sample string 2</FromDate>
  <PageNumber>sample string 4</PageNumber>
  <ServiceNumber>sample string 1</ServiceNumber>
  <ToDate>sample string 3</ToDate>
</GetPackageUsageRequest>

multipart/form-data

Sample:
<GetPackageUsageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicesDomain.Models.Ticket"><TrackingCode xmlns="http://schemas.datacontract.org/2004/07/ServicesDomain.Models">sample string 5</TrackingCode><FromDate>sample string 2</FromDate><PageNumber>sample string 4</PageNumber><ServiceNumber>sample string 1</ServiceNumber><ToDate>sample string 3</ToDate></GetPackageUsageRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.