POST api/Reports/ShipmentWaybill

Request Information

URI Parameters

None.

Body Parameters

ShipmentWayBillQueryModel
NameDescriptionTypeAdditional information
InvoiceNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceNumber": "sample string 1"
}

application/xml, text/xml

Sample:
<ShipmentWayBillQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ugur.RestApi2.Models">
  <InvoiceNumber>sample string 1</InvoiceNumber>
</ShipmentWayBillQueryModel>

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

Response Information

Resource Description

TResultOfDictionaryOfStringAndDataTable
NameDescriptionTypeAdditional information
RecordCount

integer

None.

IsSuccessful

boolean

None.

Message

string

None.

Data

Dictionary of string [key] and DataTable [value]

None.

DynamicProperty

Dictionary of string [key] and Object [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordCount": 1,
  "IsSuccessful": true,
  "Message": "sample string 3",
  "Data": {
    "sample string 1": null,
    "sample string 2": []
  },
  "DynamicProperty": {
    "sample string 1": {},
    "sample string 3": {}
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot serialize the DataTable. DataTable name is not set.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot serialize the DataTable. DataTable name is not set.