GET api/order/Order/{orderID}/OrderDetail/MiscField

Returns the all available misc field values for the order lines of a given order identifier.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderID

Primary identifier for the Order

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of OrderDetailMiscFieldsViewModel
NameDescriptionTypeAdditional information
OrderDetailID

Identifier of the order line.

integer

None.

MiscFields

For any customizations, this holds the extra fields associated to customizations.

Dictionary of string [key] and Object [value]

None.

Response Formats

application/xml, text/xml

Sample:
<ListOfOrderDetailMiscFieldsViewModel>
  <OrderDetailMiscFieldsViewModel>
    <OrderDetailID>1</OrderDetailID>
    <MiscFields>
      <KeyValuePairOfStringObject>
        <Key>sample string 1</Key>
        <Value />
      </KeyValuePairOfStringObject>
      <KeyValuePairOfStringObject>
        <Key>sample string 3</Key>
        <Value />
      </KeyValuePairOfStringObject>
    </MiscFields>
  </OrderDetailMiscFieldsViewModel>
  <OrderDetailMiscFieldsViewModel>
    <OrderDetailID>1</OrderDetailID>
    <MiscFields>
      <KeyValuePairOfStringObject>
        <Key>sample string 1</Key>
        <Value />
      </KeyValuePairOfStringObject>
      <KeyValuePairOfStringObject>
        <Key>sample string 3</Key>
        <Value />
      </KeyValuePairOfStringObject>
    </MiscFields>
  </OrderDetailMiscFieldsViewModel>
</ListOfOrderDetailMiscFieldsViewModel>

application/json, text/json

Sample:
[
  {
    "OrderDetailID": 1,
    "MiscFields": {
      "sample string 1": {},
      "sample string 3": {}
    }
  },
  {
    "OrderDetailID": 1,
    "MiscFields": {
      "sample string 1": {},
      "sample string 3": {}
    }
  }
]