POST v1/Order/OrderVersionPostageList
Returns list of postage used on an order version
Request Information
URI Parameters
None.
Body Parameters
OrderVersionPostageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| VersionID |
Order Version ID |
integer |
Required |
Request Formats
application/json, text/json
{
"VersionID": 1
}
application/xml, text/xml
<OrderVersionPostageRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <VersionID>1</VersionID> </OrderVersionPostageRequest>
application/x-www-form-urlencoded
Response Information
Resource Description
Collection of OrderVersionPostageResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderVersionPostageID |
Required for OrderVersionPostageUpdate. Ignored for OrderVersionPostageInsert. |
integer |
None. |
| VersionID |
Required for OrderVersionPostageInsert. Must match Midnight VersionID. Ignored for OrderVersionPostageUpdate. |
integer |
None. |
| PostageAffixID |
Provide the PostageAffixID |
integer |
None. |
| PostageAffixName |
Must match PostageAffix Name in Midnight. |
string |
None. |
| PostageQuantity |
Provide the PostageQuantity |
integer |
None. |
| PostageRate |
Provide the PostageRate |
decimal number |
None. |
| PostageMarkupType |
Provide the PostageMarkupType |
string |
None. |
| PostageMarkupValue |
Provide the PostageMarkupValue |
decimal number |
None. |
| PostageSellRate |
Provide the PostageSellRate |
decimal number |
None. |
| PostageTotal |
must be a valid decimal value and the product of PostageQuantity and PostageRate. |
decimal number |
None. |
| DateUsed |
Provide the DateUsed |
string |
None. |
| MailClassID |
must match MailClass in Midnight. |
integer |
None. |
| MailClassName |
Provide the MailClassName |
string |
None. |
| TotalWeight |
Provide the TotalWeight |
decimal number |
None. |
| FormNo |
Provide the FormNo |
string |
None. |
| LOT |
Provide the LOT |
string |
None. |
| PermitNo |
Provide the PermitNo |
string |
None. |
| NonProfit |
Provide the NonProfit |
string |
None. |
| PostOffice |
Provide the PostOffice |
string |
None. |
| POCity |
Provide the POCity |
string |
None. |
| POZIP |
Provide the POZIP |
string |
None. |
| WTStatus |
Provide the WTStatus |
string |
None. |
| ProcessingCategory |
Provide the ProcessingCategory |
string |
None. |
| FTtr1 |
Provide the FTtr1 |
integer |
None. |
| FTtr2 |
Provide the FTtr2 |
integer |
None. |
| Sacks |
Provide the Sacks |
integer |
None. |
| Pallets |
Provide the Pallets |
integer |
None. |
| FlatTr |
Provide the FlatTr |
integer |
None. |
| Other |
Provide the Other |
integer |
None. |
| TareWt |
Provide the TareWt |
decimal number |
None. |
| Precanceled |
Provide the Precanceled |
string |
None. |
Response Formats
application/json, text/json
[
{
"OrderVersionPostageID": 1,
"VersionID": 1,
"PostageAffixID": 1,
"PostageAffixName": "sample string 1",
"PostageQuantity": 1,
"PostageRate": 1.0,
"PostageMarkupType": "sample string 2",
"PostageMarkupValue": 1.0,
"PostageSellRate": 1.0,
"PostageTotal": 1.0,
"DateUsed": "sample string 3",
"MailClassID": 1,
"MailClassName": "sample string 4",
"TotalWeight": 1.0,
"FormNo": "sample string 5",
"LOT": "sample string 6",
"PermitNo": "sample string 7",
"NonProfit": "sample string 8",
"PostOffice": "sample string 9",
"POCity": "sample string 10",
"POZIP": "sample string 11",
"WTStatus": "sample string 12",
"ProcessingCategory": "sample string 13",
"FTtr1": 1,
"FTtr2": 1,
"Sacks": 1,
"Pallets": 1,
"FlatTr": 1,
"Other": 1,
"TareWt": 1.0,
"Precanceled": "sample string 14"
},
{
"OrderVersionPostageID": 1,
"VersionID": 1,
"PostageAffixID": 1,
"PostageAffixName": "sample string 1",
"PostageQuantity": 1,
"PostageRate": 1.0,
"PostageMarkupType": "sample string 2",
"PostageMarkupValue": 1.0,
"PostageSellRate": 1.0,
"PostageTotal": 1.0,
"DateUsed": "sample string 3",
"MailClassID": 1,
"MailClassName": "sample string 4",
"TotalWeight": 1.0,
"FormNo": "sample string 5",
"LOT": "sample string 6",
"PermitNo": "sample string 7",
"NonProfit": "sample string 8",
"PostOffice": "sample string 9",
"POCity": "sample string 10",
"POZIP": "sample string 11",
"WTStatus": "sample string 12",
"ProcessingCategory": "sample string 13",
"FTtr1": 1,
"FTtr2": 1,
"Sacks": 1,
"Pallets": 1,
"FlatTr": 1,
"Other": 1,
"TareWt": 1.0,
"Precanceled": "sample string 14"
}
]
application/xml, text/xml
<ArrayOfOrderVersionPostageResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<OrderVersionPostageResponse>
<OrderVersionPostageID>1</OrderVersionPostageID>
<VersionID>1</VersionID>
<PostageAffixID>1</PostageAffixID>
<PostageAffixName>sample string 1</PostageAffixName>
<PostageQuantity>1</PostageQuantity>
<PostageRate>1</PostageRate>
<PostageMarkupType>sample string 2</PostageMarkupType>
<PostageMarkupValue>1</PostageMarkupValue>
<PostageSellRate>1</PostageSellRate>
<PostageTotal>1</PostageTotal>
<DateUsed>sample string 3</DateUsed>
<MailClassID>1</MailClassID>
<MailClassName>sample string 4</MailClassName>
<TotalWeight>1</TotalWeight>
<FormNo>sample string 5</FormNo>
<LOT>sample string 6</LOT>
<PermitNo>sample string 7</PermitNo>
<NonProfit>sample string 8</NonProfit>
<PostOffice>sample string 9</PostOffice>
<POCity>sample string 10</POCity>
<POZIP>sample string 11</POZIP>
<WTStatus>sample string 12</WTStatus>
<ProcessingCategory>sample string 13</ProcessingCategory>
<FTtr1>1</FTtr1>
<FTtr2>1</FTtr2>
<Sacks>1</Sacks>
<Pallets>1</Pallets>
<FlatTr>1</FlatTr>
<Other>1</Other>
<TareWt>1</TareWt>
<Precanceled>sample string 14</Precanceled>
</OrderVersionPostageResponse>
<OrderVersionPostageResponse>
<OrderVersionPostageID>1</OrderVersionPostageID>
<VersionID>1</VersionID>
<PostageAffixID>1</PostageAffixID>
<PostageAffixName>sample string 1</PostageAffixName>
<PostageQuantity>1</PostageQuantity>
<PostageRate>1</PostageRate>
<PostageMarkupType>sample string 2</PostageMarkupType>
<PostageMarkupValue>1</PostageMarkupValue>
<PostageSellRate>1</PostageSellRate>
<PostageTotal>1</PostageTotal>
<DateUsed>sample string 3</DateUsed>
<MailClassID>1</MailClassID>
<MailClassName>sample string 4</MailClassName>
<TotalWeight>1</TotalWeight>
<FormNo>sample string 5</FormNo>
<LOT>sample string 6</LOT>
<PermitNo>sample string 7</PermitNo>
<NonProfit>sample string 8</NonProfit>
<PostOffice>sample string 9</PostOffice>
<POCity>sample string 10</POCity>
<POZIP>sample string 11</POZIP>
<WTStatus>sample string 12</WTStatus>
<ProcessingCategory>sample string 13</ProcessingCategory>
<FTtr1>1</FTtr1>
<FTtr2>1</FTtr2>
<Sacks>1</Sacks>
<Pallets>1</Pallets>
<FlatTr>1</FlatTr>
<Other>1</Other>
<TareWt>1</TareWt>
<Precanceled>sample string 14</Precanceled>
</OrderVersionPostageResponse>
</ArrayOfOrderVersionPostageResponse>
