POST api/eShop/GetHistoricOrders

Request Information

URI Parameters

None.

Body Parameters

GetHistoricOrders
NameDescriptionTypeAdditional information
customerDN

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<GetHistoricOrders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XL_BYG.OMS.Api.Models">
  <customerDN>sample string 1</customerDN>
</GetHistoricOrders>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of UpdatedOrder
NameDescriptionTypeAdditional information
status

string

None.

orderType

string

None.

order

Order

Required

orderLines

Collection of OrderLine

Required

customer

Customer

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "status": "sample string 1",
    "orderType": "sample string 2",
    "order": {
      "orderID": 1,
      "shopID": 1,
      "orderDate": "2024-09-18T16:28:56.1217808+02:00",
      "deliveryDate": "2024-09-18T16:28:56.1217808+02:00",
      "customerMessage": "sample string 3",
      "cardType": "sample string 4",
      "cardNumber": "sample string 5",
      "cardIssuerCountry": "sample string 6",
      "fraudMarker": "sample string 7",
      "merchantID": 1,
      "transactionID": "sample string 8",
      "termsOfDelivery": "sample string 9",
      "authorizedAmount": 1,
      "totalAmount": 1,
      "subTotalAmount": 1,
      "vatAmount": 1,
      "discountAmount": 1,
      "discountText": "sample string 10"
    },
    "orderLines": [
      {
        "lineID": 1,
        "AS4lineID": 1,
        "orderID": 1,
        "productNumber": "sample string 1",
        "productName": "sample string 2",
        "productWeight": 1,
        "unitPrice": 1,
        "originalUnitPrice": 1,
        "discountAmount": 1,
        "quantity": 1,
        "salesUnit": "sample string 3",
        "costPrice": 1,
        "daysToDeliver": 1,
        "expectedShipDate": "2024-09-18T16:28:56.1217808+02:00",
        "daysToAlert": 1,
        "colorName": "sample string 4",
        "colorNumber": "sample string 5",
        "colorRgb": "sample string 6",
        "colorRgba": "sample string 7"
      },
      {
        "lineID": 1,
        "AS4lineID": 1,
        "orderID": 1,
        "productNumber": "sample string 1",
        "productName": "sample string 2",
        "productWeight": 1,
        "unitPrice": 1,
        "originalUnitPrice": 1,
        "discountAmount": 1,
        "quantity": 1,
        "salesUnit": "sample string 3",
        "costPrice": 1,
        "daysToDeliver": 1,
        "expectedShipDate": "2024-09-18T16:28:56.1217808+02:00",
        "daysToAlert": 1,
        "colorName": "sample string 4",
        "colorNumber": "sample string 5",
        "colorRgb": "sample string 6",
        "colorRgba": "sample string 7"
      }
    ],
    "customer": {
      "customerID": 1,
      "customerDN": "sample string 1",
      "billingCompanyName": "sample string 2",
      "billingFirstName": "sample string 3",
      "billingLastName": "sample string 4",
      "billingAddress": "sample string 5",
      "billingZip": 1,
      "billingCity": "sample string 6",
      "billingCountry": "sample string 7",
      "billingEmail": "sample string 8",
      "billingPhone": "sample string 9",
      "deliveryCompanyName": "sample string 10",
      "deliveryFirstName": "sample string 11",
      "deliveryLastName": "sample string 12",
      "deliveryAddress": "sample string 13",
      "deliveryZip": 1,
      "deliveryCity": "sample string 14",
      "deliveryCountry": "sample string 15",
      "deliveryEmail": "sample string 16",
      "deliveryPhone": "sample string 17"
    }
  },
  {
    "status": "sample string 1",
    "orderType": "sample string 2",
    "order": {
      "orderID": 1,
      "shopID": 1,
      "orderDate": "2024-09-18T16:28:56.1217808+02:00",
      "deliveryDate": "2024-09-18T16:28:56.1217808+02:00",
      "customerMessage": "sample string 3",
      "cardType": "sample string 4",
      "cardNumber": "sample string 5",
      "cardIssuerCountry": "sample string 6",
      "fraudMarker": "sample string 7",
      "merchantID": 1,
      "transactionID": "sample string 8",
      "termsOfDelivery": "sample string 9",
      "authorizedAmount": 1,
      "totalAmount": 1,
      "subTotalAmount": 1,
      "vatAmount": 1,
      "discountAmount": 1,
      "discountText": "sample string 10"
    },
    "orderLines": [
      {
        "lineID": 1,
        "AS4lineID": 1,
        "orderID": 1,
        "productNumber": "sample string 1",
        "productName": "sample string 2",
        "productWeight": 1,
        "unitPrice": 1,
        "originalUnitPrice": 1,
        "discountAmount": 1,
        "quantity": 1,
        "salesUnit": "sample string 3",
        "costPrice": 1,
        "daysToDeliver": 1,
        "expectedShipDate": "2024-09-18T16:28:56.1217808+02:00",
        "daysToAlert": 1,
        "colorName": "sample string 4",
        "colorNumber": "sample string 5",
        "colorRgb": "sample string 6",
        "colorRgba": "sample string 7"
      },
      {
        "lineID": 1,
        "AS4lineID": 1,
        "orderID": 1,
        "productNumber": "sample string 1",
        "productName": "sample string 2",
        "productWeight": 1,
        "unitPrice": 1,
        "originalUnitPrice": 1,
        "discountAmount": 1,
        "quantity": 1,
        "salesUnit": "sample string 3",
        "costPrice": 1,
        "daysToDeliver": 1,
        "expectedShipDate": "2024-09-18T16:28:56.1217808+02:00",
        "daysToAlert": 1,
        "colorName": "sample string 4",
        "colorNumber": "sample string 5",
        "colorRgb": "sample string 6",
        "colorRgba": "sample string 7"
      }
    ],
    "customer": {
      "customerID": 1,
      "customerDN": "sample string 1",
      "billingCompanyName": "sample string 2",
      "billingFirstName": "sample string 3",
      "billingLastName": "sample string 4",
      "billingAddress": "sample string 5",
      "billingZip": 1,
      "billingCity": "sample string 6",
      "billingCountry": "sample string 7",
      "billingEmail": "sample string 8",
      "billingPhone": "sample string 9",
      "deliveryCompanyName": "sample string 10",
      "deliveryFirstName": "sample string 11",
      "deliveryLastName": "sample string 12",
      "deliveryAddress": "sample string 13",
      "deliveryZip": 1,
      "deliveryCity": "sample string 14",
      "deliveryCountry": "sample string 15",
      "deliveryEmail": "sample string 16",
      "deliveryPhone": "sample string 17"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfUpdatedOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XL_BYG.OMS.Api.Models">
  <UpdatedOrder>
    <customer>
      <billingAddress>sample string 5</billingAddress>
      <billingCity>sample string 6</billingCity>
      <billingCompanyName>sample string 2</billingCompanyName>
      <billingCountry>sample string 7</billingCountry>
      <billingEmail>sample string 8</billingEmail>
      <billingFirstName>sample string 3</billingFirstName>
      <billingLastName>sample string 4</billingLastName>
      <billingPhone>sample string 9</billingPhone>
      <billingZip>1</billingZip>
      <customerDN>sample string 1</customerDN>
      <customerID>1</customerID>
      <deliveryAddress>sample string 13</deliveryAddress>
      <deliveryCity>sample string 14</deliveryCity>
      <deliveryCompanyName>sample string 10</deliveryCompanyName>
      <deliveryCountry>sample string 15</deliveryCountry>
      <deliveryEmail>sample string 16</deliveryEmail>
      <deliveryFirstName>sample string 11</deliveryFirstName>
      <deliveryLastName>sample string 12</deliveryLastName>
      <deliveryPhone>sample string 17</deliveryPhone>
      <deliveryZip>1</deliveryZip>
    </customer>
    <order>
      <authorizedAmount>1</authorizedAmount>
      <cardIssuerCountry>sample string 6</cardIssuerCountry>
      <cardNumber>sample string 5</cardNumber>
      <cardType>sample string 4</cardType>
      <customerMessage>sample string 3</customerMessage>
      <deliveryDate>2024-09-18T16:28:56.1217808+02:00</deliveryDate>
      <discountAmount>1</discountAmount>
      <discountText>sample string 10</discountText>
      <fraudMarker>sample string 7</fraudMarker>
      <merchantID>1</merchantID>
      <orderDate>2024-09-18T16:28:56.1217808+02:00</orderDate>
      <orderID>1</orderID>
      <shopID>1</shopID>
      <subTotalAmount>1</subTotalAmount>
      <termsOfDelivery>sample string 9</termsOfDelivery>
      <totalAmount>1</totalAmount>
      <transactionID>sample string 8</transactionID>
      <vatAmount>1</vatAmount>
    </order>
    <orderLines>
      <OrderLine>
        <AS4lineID>1</AS4lineID>
        <colorName>sample string 4</colorName>
        <colorNumber>sample string 5</colorNumber>
        <colorRgb>sample string 6</colorRgb>
        <colorRgba>sample string 7</colorRgba>
        <costPrice>1</costPrice>
        <daysToAlert>1</daysToAlert>
        <daysToDeliver>1</daysToDeliver>
        <discountAmount>1</discountAmount>
        <expectedShipDate>2024-09-18T16:28:56.1217808+02:00</expectedShipDate>
        <lineID>1</lineID>
        <orderID>1</orderID>
        <originalUnitPrice>1</originalUnitPrice>
        <productName>sample string 2</productName>
        <productNumber>sample string 1</productNumber>
        <productWeight>1</productWeight>
        <quantity>1</quantity>
        <salesUnit>sample string 3</salesUnit>
        <unitPrice>1</unitPrice>
      </OrderLine>
      <OrderLine>
        <AS4lineID>1</AS4lineID>
        <colorName>sample string 4</colorName>
        <colorNumber>sample string 5</colorNumber>
        <colorRgb>sample string 6</colorRgb>
        <colorRgba>sample string 7</colorRgba>
        <costPrice>1</costPrice>
        <daysToAlert>1</daysToAlert>
        <daysToDeliver>1</daysToDeliver>
        <discountAmount>1</discountAmount>
        <expectedShipDate>2024-09-18T16:28:56.1217808+02:00</expectedShipDate>
        <lineID>1</lineID>
        <orderID>1</orderID>
        <originalUnitPrice>1</originalUnitPrice>
        <productName>sample string 2</productName>
        <productNumber>sample string 1</productNumber>
        <productWeight>1</productWeight>
        <quantity>1</quantity>
        <salesUnit>sample string 3</salesUnit>
        <unitPrice>1</unitPrice>
      </OrderLine>
    </orderLines>
    <orderType>sample string 2</orderType>
    <status>sample string 1</status>
  </UpdatedOrder>
  <UpdatedOrder>
    <customer>
      <billingAddress>sample string 5</billingAddress>
      <billingCity>sample string 6</billingCity>
      <billingCompanyName>sample string 2</billingCompanyName>
      <billingCountry>sample string 7</billingCountry>
      <billingEmail>sample string 8</billingEmail>
      <billingFirstName>sample string 3</billingFirstName>
      <billingLastName>sample string 4</billingLastName>
      <billingPhone>sample string 9</billingPhone>
      <billingZip>1</billingZip>
      <customerDN>sample string 1</customerDN>
      <customerID>1</customerID>
      <deliveryAddress>sample string 13</deliveryAddress>
      <deliveryCity>sample string 14</deliveryCity>
      <deliveryCompanyName>sample string 10</deliveryCompanyName>
      <deliveryCountry>sample string 15</deliveryCountry>
      <deliveryEmail>sample string 16</deliveryEmail>
      <deliveryFirstName>sample string 11</deliveryFirstName>
      <deliveryLastName>sample string 12</deliveryLastName>
      <deliveryPhone>sample string 17</deliveryPhone>
      <deliveryZip>1</deliveryZip>
    </customer>
    <order>
      <authorizedAmount>1</authorizedAmount>
      <cardIssuerCountry>sample string 6</cardIssuerCountry>
      <cardNumber>sample string 5</cardNumber>
      <cardType>sample string 4</cardType>
      <customerMessage>sample string 3</customerMessage>
      <deliveryDate>2024-09-18T16:28:56.1217808+02:00</deliveryDate>
      <discountAmount>1</discountAmount>
      <discountText>sample string 10</discountText>
      <fraudMarker>sample string 7</fraudMarker>
      <merchantID>1</merchantID>
      <orderDate>2024-09-18T16:28:56.1217808+02:00</orderDate>
      <orderID>1</orderID>
      <shopID>1</shopID>
      <subTotalAmount>1</subTotalAmount>
      <termsOfDelivery>sample string 9</termsOfDelivery>
      <totalAmount>1</totalAmount>
      <transactionID>sample string 8</transactionID>
      <vatAmount>1</vatAmount>
    </order>
    <orderLines>
      <OrderLine>
        <AS4lineID>1</AS4lineID>
        <colorName>sample string 4</colorName>
        <colorNumber>sample string 5</colorNumber>
        <colorRgb>sample string 6</colorRgb>
        <colorRgba>sample string 7</colorRgba>
        <costPrice>1</costPrice>
        <daysToAlert>1</daysToAlert>
        <daysToDeliver>1</daysToDeliver>
        <discountAmount>1</discountAmount>
        <expectedShipDate>2024-09-18T16:28:56.1217808+02:00</expectedShipDate>
        <lineID>1</lineID>
        <orderID>1</orderID>
        <originalUnitPrice>1</originalUnitPrice>
        <productName>sample string 2</productName>
        <productNumber>sample string 1</productNumber>
        <productWeight>1</productWeight>
        <quantity>1</quantity>
        <salesUnit>sample string 3</salesUnit>
        <unitPrice>1</unitPrice>
      </OrderLine>
      <OrderLine>
        <AS4lineID>1</AS4lineID>
        <colorName>sample string 4</colorName>
        <colorNumber>sample string 5</colorNumber>
        <colorRgb>sample string 6</colorRgb>
        <colorRgba>sample string 7</colorRgba>
        <costPrice>1</costPrice>
        <daysToAlert>1</daysToAlert>
        <daysToDeliver>1</daysToDeliver>
        <discountAmount>1</discountAmount>
        <expectedShipDate>2024-09-18T16:28:56.1217808+02:00</expectedShipDate>
        <lineID>1</lineID>
        <orderID>1</orderID>
        <originalUnitPrice>1</originalUnitPrice>
        <productName>sample string 2</productName>
        <productNumber>sample string 1</productNumber>
        <productWeight>1</productWeight>
        <quantity>1</quantity>
        <salesUnit>sample string 3</salesUnit>
        <unitPrice>1</unitPrice>
      </OrderLine>
    </orderLines>
    <orderType>sample string 2</orderType>
    <status>sample string 1</status>
  </UpdatedOrder>
</ArrayOfUpdatedOrder>