POST api/Item/InsertUpdateCustomerTypeItem
Request Information
URI Parameters
None.
Body Parameters
CustomerTypeItemModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerTypeItemId | integer |
None. |
|
| CustomerTypeId | integer |
None. |
|
| ItemId | integer |
None. |
|
| AllowDiscount | string |
None. |
|
| PickupBasePrice | decimal number |
None. |
|
| DeliveryBasePrice | decimal number |
None. |
|
| FloorPrice | decimal number |
None. |
|
| SuggestedRetailPrice | decimal number |
None. |
|
| SuggestedMinPrice | decimal number |
None. |
|
| SuggestedMaxPrice | decimal number |
None. |
|
| CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerTypeItemId": 1,
"CustomerTypeId": 2,
"ItemId": 3,
"AllowDiscount": "sample string 4",
"PickupBasePrice": 5.0,
"DeliveryBasePrice": 6.0,
"FloorPrice": 7.0,
"SuggestedRetailPrice": 8.0,
"SuggestedMinPrice": 9.0,
"SuggestedMaxPrice": 10.0,
"CompanyId": 11
}
application/xml, text/xml
Sample:
<CustomerTypeItemModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OMSWebApi.Models"> <AllowDiscount>sample string 4</AllowDiscount> <CompanyId>11</CompanyId> <CustomerTypeId>2</CustomerTypeId> <CustomerTypeItemId>1</CustomerTypeItemId> <DeliveryBasePrice>6</DeliveryBasePrice> <FloorPrice>7</FloorPrice> <ItemId>3</ItemId> <PickupBasePrice>5</PickupBasePrice> <SuggestedMaxPrice>10</SuggestedMaxPrice> <SuggestedMinPrice>9</SuggestedMinPrice> <SuggestedRetailPrice>8</SuggestedRetailPrice> </CustomerTypeItemModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |