POST api/Manifest/ItemAPI

Request Information

URI Parameters

None.

Body Parameters

TradenetAPIRequestDTO
NameDescriptionTypeAdditional information
RequestList

Collection of Request

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestList": [
    {
      "LicenceNo": "sample string 1",
      "EIRRegNo": "sample string 2"
    },
    {
      "LicenceNo": "sample string 1",
      "EIRRegNo": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<TradenetAPIRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <RequestList>
    <Request>
      <EIRRegNo>sample string 2</EIRRegNo>
      <LicenceNo>sample string 1</LicenceNo>
    </Request>
    <Request>
      <EIRRegNo>sample string 2</EIRRegNo>
      <LicenceNo>sample string 1</LicenceNo>
    </Request>
  </RequestList>
</TradenetAPIRequestDTO>

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

Response Information

Resource Description

Collection of TradenetAPIRequestDTO
NameDescriptionTypeAdditional information
RequestList

Collection of Request

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RequestList": [
      {
        "LicenceNo": "sample string 1",
        "EIRRegNo": "sample string 2"
      },
      {
        "LicenceNo": "sample string 1",
        "EIRRegNo": "sample string 2"
      }
    ]
  },
  {
    "RequestList": [
      {
        "LicenceNo": "sample string 1",
        "EIRRegNo": "sample string 2"
      },
      {
        "LicenceNo": "sample string 1",
        "EIRRegNo": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfTradenetAPIRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <TradenetAPIRequestDTO>
    <RequestList>
      <Request>
        <EIRRegNo>sample string 2</EIRRegNo>
        <LicenceNo>sample string 1</LicenceNo>
      </Request>
      <Request>
        <EIRRegNo>sample string 2</EIRRegNo>
        <LicenceNo>sample string 1</LicenceNo>
      </Request>
    </RequestList>
  </TradenetAPIRequestDTO>
  <TradenetAPIRequestDTO>
    <RequestList>
      <Request>
        <EIRRegNo>sample string 2</EIRRegNo>
        <LicenceNo>sample string 1</LicenceNo>
      </Request>
      <Request>
        <EIRRegNo>sample string 2</EIRRegNo>
        <LicenceNo>sample string 1</LicenceNo>
      </Request>
    </RequestList>
  </TradenetAPIRequestDTO>
</ArrayOfTradenetAPIRequestDTO>