POST api/didban/GetSuspentionHistory

Request Information

URI Parameters

None.

Body Parameters

GetSuspentionHistoryRequest
NameDescriptionTypeAdditional information
ServiceNumber

string

None.

FromDate

string

None.

ToDate

string

None.

TrackingCode

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<GetSuspentionHistoryRequest 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 4</TrackingCode>
  <FromDate>sample string 2</FromDate>
  <ServiceNumber>sample string 1</ServiceNumber>
  <ToDate>sample string 3</ToDate>
</GetSuspentionHistoryRequest>

multipart/form-data

Sample:
<GetSuspentionHistoryRequest 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 4</TrackingCode><FromDate>sample string 2</FromDate><ServiceNumber>sample string 1</ServiceNumber><ToDate>sample string 3</ToDate></GetSuspentionHistoryRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.