POST api/Transport/GetNew

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

TransportGetNewResponse
NameDescriptionTypeAdditional information
Transports

Collection of Object

None.

mesasge

string

None.

isSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Transports": null,
  "mesasge": "sample string 1",
  "isSuccess": true
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.