POST api/ZoneBilling
Request Information
URI Parameters
None.
Body Parameters
BindZoneBillingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| CustomerId | integer |
Required |
|
| WarehouseId | integer |
Required |
|
| Carrier | string |
Required |
|
| ZoneName | string |
Required |
|
| ServiceLevel | string |
Required |
|
| Weight | decimal number |
Required |
|
| Rate | decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerId": 2,
"WarehouseId": 3,
"Carrier": "sample string 4",
"ZoneName": "sample string 5",
"ServiceLevel": "sample string 6",
"Weight": 7.0,
"Rate": 8.0
}
application/xml, text/xml
Sample:
<BindZoneBillingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Customers.BillingWizard.ZoneBilling"> <Carrier>sample string 4</Carrier> <CustomerId>2</CustomerId> <Id>1</Id> <Rate>8</Rate> <ServiceLevel>sample string 6</ServiceLevel> <WarehouseId>3</WarehouseId> <Weight>7</Weight> <ZoneName>sample string 5</ZoneName> </BindZoneBillingViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BillingWizardResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Code": "sample string 2",
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<BillingWizardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eMpowerCore.ViewModels.Customers.BillingWizard"> <Code>sample string 2</Code> <Id>1</Id> <Message>sample string 3</Message> </BillingWizardResponse>