POST api/Cost/Order/Create

Request Information

URI Parameters

None.

Body Parameters

CreateCostOrderParm
NameDescriptionTypeAdditional information
auth

string

None.

CostClass

string

None.

GUID

string

None.

CostTypeID

integer

None.

Name

string

None.

Description

string

None.

Amount

decimal number

None.

TaxAmount

decimal number

None.

CurrencyID

string

None.

GLAccountNumber

string

None.

LockFlag

boolean

None.

VendorID

integer

None.

CarrierID

integer

None.

CourierID

integer

None.

DueAgentOrCarrier

string

None.

PrintAmount

decimal number

None.

ReconcileNote

string

None.

Intercompany

boolean

None.

IntercompanyOfficeID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "auth": "sample string 1",
  "CostClass": "sample string 2",
  "GUID": "sample string 3",
  "CostTypeID": 4,
  "Name": "sample string 5",
  "Description": "sample string 6",
  "Amount": 7.0,
  "TaxAmount": 8.0,
  "CurrencyID": "sample string 9",
  "GLAccountNumber": "sample string 10",
  "LockFlag": true,
  "VendorID": 1,
  "CarrierID": 1,
  "CourierID": 1,
  "DueAgentOrCarrier": "sample string 12",
  "PrintAmount": 13.0,
  "ReconcileNote": "sample string 14",
  "Intercompany": true,
  "IntercompanyOfficeID": 1
}

application/xml, text/xml

Sample:
<CreateCostOrderParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <Amount>7</Amount>
  <CarrierID>1</CarrierID>
  <CostClass>sample string 2</CostClass>
  <CostTypeID>4</CostTypeID>
  <CourierID>1</CourierID>
  <CurrencyID>sample string 9</CurrencyID>
  <Description>sample string 6</Description>
  <DueAgentOrCarrier>sample string 12</DueAgentOrCarrier>
  <GLAccountNumber>sample string 10</GLAccountNumber>
  <GUID>sample string 3</GUID>
  <Intercompany>true</Intercompany>
  <IntercompanyOfficeID>1</IntercompanyOfficeID>
  <LockFlag>true</LockFlag>
  <Name>sample string 5</Name>
  <PrintAmount>13</PrintAmount>
  <ReconcileNote>sample string 14</ReconcileNote>
  <TaxAmount>8</TaxAmount>
  <VendorID>1</VendorID>
  <auth>sample string 1</auth>
</CreateCostOrderParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
</ResponseBase>