POST api/didban/GetPackageUsageDetails

Request Information

URI Parameters

None.

Body Parameters

GetPackageUsageDetailsRequest
NameDescriptionTypeAdditional information
ServiceNumber

string

None.

FromDate

string

None.

ToDate

string

None.

PackageId

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",
  "PackageId": "sample string 4",
  "PageNumber": "sample string 5",
  "TrackingCode": "sample string 6"
}

application/xml, text/xml

Sample:
<GetPackageUsageDetailsRequest 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 6</TrackingCode>
  <FromDate>sample string 2</FromDate>
  <PackageId>sample string 4</PackageId>
  <PageNumber>sample string 5</PageNumber>
  <ServiceNumber>sample string 1</ServiceNumber>
  <ToDate>sample string 3</ToDate>
</GetPackageUsageDetailsRequest>

multipart/form-data

Sample:
<GetPackageUsageDetailsRequest 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 6</TrackingCode><FromDate>sample string 2</FromDate><PackageId>sample string 4</PackageId><PageNumber>sample string 5</PageNumber><ServiceNumber>sample string 1</ServiceNumber><ToDate>sample string 3</ToDate></GetPackageUsageDetailsRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.