POST api/F061/A108/V2

Request Information

URI Parameters

None.

Body Parameters

RechercheQuery
NameDescriptionTypeAdditional information
customerInteraction

Customerinteraction

None.

dataQuery

Dataquery

None.

Request Formats

application/json, text/json

Sample:
{
  "customerInteraction": {
    "kiamoId": 1,
    "type": "sample string 2"
  },
  "dataQuery": {
    "pageNumber": 1,
    "pageSize": 1,
    "emailAddress": "sample string 1",
    "phoneNumber": "sample string 2",
    "countryCode": "sample string 3",
    "parcelNumber": "sample string 4",
    "parcelShopNumber": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<ObjetContactController.RechercheQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mr.esb.front.Controllers.F061">
  <customerInteraction>
    <kiamoId>1</kiamoId>
    <type>sample string 2</type>
  </customerInteraction>
  <dataQuery>
    <countryCode>sample string 3</countryCode>
    <emailAddress>sample string 1</emailAddress>
    <pageNumber>1</pageNumber>
    <pageSize>1</pageSize>
    <parcelNumber>sample string 4</parcelNumber>
    <parcelShopNumber>sample string 5</parcelShopNumber>
    <phoneNumber>sample string 2</phoneNumber>
  </dataQuery>
</ObjetContactController.RechercheQuery>

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

Response Information

Resource Description

RechercheResponseMultiple
NameDescriptionTypeAdditional information
customerInteraction

Customerinteraction

None.

items

Collection of RechercheResponseMultipleItem

None.

warnings

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "customerInteraction": {
    "kiamoId": 1,
    "type": "sample string 2"
  },
  "items": [
    {
      "url": {
        "url1": "sample string 1",
        "url2": "sample string 2",
        "url3": "sample string 3"
      },
      "metadata": {
        "parcel": {
          "parcelCode": "sample string 1",
          "recipientName": "sample string 2",
          "pickUpOfficeCode": "sample string 3",
          "pickUpPlaceCode": "sample string 4",
          "pickUpProductCode": "sample string 5",
          "deliveryOfficeCode": "sample string 6",
          "deliveryPlaceCode": "sample string 7",
          "deliveryProductCode": "sample string 8",
          "trackingStateCode": "sample string 9",
          "trackingStateSubcode": "sample string 10",
          "customerBusinessReference": "sample string 11",
          "customerBusinessLabel": "sample string 12",
          "trackingStateDate": "sample string 13",
          "vip": true
        },
        "parcelShop": {
          "number": "sample string 1",
          "postalCode": "sample string 2",
          "country": "sample string 3",
          "affialiateOffice": "sample string 4",
          "name": "sample string 5",
          "type": "sample string 6"
        },
        "businessCustomer": {
          "customerReference": "sample string 1",
          "salesPersonId": 2,
          "firmName": "sample string 3",
          "customerCarePersonId": 4,
          "vip": true
        }
      }
    },
    {
      "url": {
        "url1": "sample string 1",
        "url2": "sample string 2",
        "url3": "sample string 3"
      },
      "metadata": {
        "parcel": {
          "parcelCode": "sample string 1",
          "recipientName": "sample string 2",
          "pickUpOfficeCode": "sample string 3",
          "pickUpPlaceCode": "sample string 4",
          "pickUpProductCode": "sample string 5",
          "deliveryOfficeCode": "sample string 6",
          "deliveryPlaceCode": "sample string 7",
          "deliveryProductCode": "sample string 8",
          "trackingStateCode": "sample string 9",
          "trackingStateSubcode": "sample string 10",
          "customerBusinessReference": "sample string 11",
          "customerBusinessLabel": "sample string 12",
          "trackingStateDate": "sample string 13",
          "vip": true
        },
        "parcelShop": {
          "number": "sample string 1",
          "postalCode": "sample string 2",
          "country": "sample string 3",
          "affialiateOffice": "sample string 4",
          "name": "sample string 5",
          "type": "sample string 6"
        },
        "businessCustomer": {
          "customerReference": "sample string 1",
          "salesPersonId": 2,
          "firmName": "sample string 3",
          "customerCarePersonId": 4,
          "vip": true
        }
      }
    }
  ],
  "warnings": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ObjetContactController.RechercheResponseMultiple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mr.esb.front.Controllers.F061">
  <customerInteraction>
    <kiamoId>1</kiamoId>
    <type>sample string 2</type>
  </customerInteraction>
  <items>
    <ObjetContactController.RechercheResponseMultipleItem>
      <metadata>
        <businessCustomer>
          <customerCarePersonId>4</customerCarePersonId>
          <customerReference>sample string 1</customerReference>
          <firmName>sample string 3</firmName>
          <salesPersonId>2</salesPersonId>
          <vip>true</vip>
        </businessCustomer>
        <parcel>
          <customerBusinessLabel>sample string 12</customerBusinessLabel>
          <customerBusinessReference>sample string 11</customerBusinessReference>
          <deliveryOfficeCode>sample string 6</deliveryOfficeCode>
          <deliveryPlaceCode>sample string 7</deliveryPlaceCode>
          <deliveryProductCode>sample string 8</deliveryProductCode>
          <parcelCode>sample string 1</parcelCode>
          <pickUpOfficeCode>sample string 3</pickUpOfficeCode>
          <pickUpPlaceCode>sample string 4</pickUpPlaceCode>
          <pickUpProductCode>sample string 5</pickUpProductCode>
          <recipientName>sample string 2</recipientName>
          <trackingStateCode>sample string 9</trackingStateCode>
          <trackingStateDate>sample string 13</trackingStateDate>
          <trackingStateSubcode>sample string 10</trackingStateSubcode>
          <vip>true</vip>
        </parcel>
        <parcelShop>
          <affialiateOffice>sample string 4</affialiateOffice>
          <country>sample string 3</country>
          <name>sample string 5</name>
          <number>sample string 1</number>
          <postalCode>sample string 2</postalCode>
          <type>sample string 6</type>
        </parcelShop>
      </metadata>
      <url>
        <url1>sample string 1</url1>
        <url2>sample string 2</url2>
        <url3>sample string 3</url3>
      </url>
    </ObjetContactController.RechercheResponseMultipleItem>
    <ObjetContactController.RechercheResponseMultipleItem>
      <metadata>
        <businessCustomer>
          <customerCarePersonId>4</customerCarePersonId>
          <customerReference>sample string 1</customerReference>
          <firmName>sample string 3</firmName>
          <salesPersonId>2</salesPersonId>
          <vip>true</vip>
        </businessCustomer>
        <parcel>
          <customerBusinessLabel>sample string 12</customerBusinessLabel>
          <customerBusinessReference>sample string 11</customerBusinessReference>
          <deliveryOfficeCode>sample string 6</deliveryOfficeCode>
          <deliveryPlaceCode>sample string 7</deliveryPlaceCode>
          <deliveryProductCode>sample string 8</deliveryProductCode>
          <parcelCode>sample string 1</parcelCode>
          <pickUpOfficeCode>sample string 3</pickUpOfficeCode>
          <pickUpPlaceCode>sample string 4</pickUpPlaceCode>
          <pickUpProductCode>sample string 5</pickUpProductCode>
          <recipientName>sample string 2</recipientName>
          <trackingStateCode>sample string 9</trackingStateCode>
          <trackingStateDate>sample string 13</trackingStateDate>
          <trackingStateSubcode>sample string 10</trackingStateSubcode>
          <vip>true</vip>
        </parcel>
        <parcelShop>
          <affialiateOffice>sample string 4</affialiateOffice>
          <country>sample string 3</country>
          <name>sample string 5</name>
          <number>sample string 1</number>
          <postalCode>sample string 2</postalCode>
          <type>sample string 6</type>
        </parcelShop>
      </metadata>
      <url>
        <url1>sample string 1</url1>
        <url2>sample string 2</url2>
        <url3>sample string 3</url3>
      </url>
    </ObjetContactController.RechercheResponseMultipleItem>
  </items>
  <warnings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </warnings>
</ObjetContactController.RechercheResponseMultiple>