POST api/HUB/InsertPricelistPartDetails_HUB
Request Information
URI Parameters
None.
Body Parameters
HubPartModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MakeID | integer |
None. |
|
| ModelID | integer |
None. |
|
| SeriesID | integer |
None. |
|
| PartID | integer |
None. |
|
| PartName | string |
None. |
|
| PartDescription | string |
None. |
|
| IsComplete | boolean |
None. |
|
| Group1 | integer |
None. |
|
| Group2 | integer |
None. |
|
| Group3 | integer |
None. |
|
| MinutesToRemove | integer |
None. |
|
| ShippingCost | decimal number |
None. |
|
| DefaultPrice | decimal number |
None. |
|
| OEMPrice | decimal number |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| Group123 | string |
None. |
|
| Part | string |
None. |
|
| IsDefault | string |
None. |
|
| ImageName | string |
None. |
|
| ImagePath | string |
None. |
|
| IsNotWPIT | boolean |
None. |
|
| ShippingWeight | string |
None. |
|
| KeyWords | string |
None. |
|
| PricelistID | integer |
None. |
|
| productorder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"MakeID": 1,
"ModelID": 2,
"SeriesID": 3,
"PartID": 4,
"PartName": "sample string 5",
"PartDescription": "sample string 6",
"IsComplete": true,
"Group1": 8,
"Group2": 9,
"Group3": 10,
"MinutesToRemove": 11,
"ShippingCost": 12.0,
"DefaultPrice": 13.0,
"OEMPrice": 14.0,
"CreatedBy": 15,
"CreatedDate": "2020-02-27T04:39:22.9145092+11:00",
"ModifiedBy": 17,
"ModifiedDate": "2020-02-27T04:39:22.9145092+11:00",
"Group123": "sample string 19",
"Part": "sample string 20",
"IsDefault": "sample string 21",
"ImageName": "sample string 22",
"ImagePath": "sample string 23",
"IsNotWPIT": true,
"ShippingWeight": "sample string 25",
"KeyWords": "sample string 26",
"PricelistID": 27,
"productorder": 28
}
application/xml, text/xml
Sample:
<HubPartModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models"> <CreatedBy>15</CreatedBy> <CreatedDate>2020-02-27T04:39:22.9145092+11:00</CreatedDate> <DefaultPrice>13</DefaultPrice> <Group1>8</Group1> <Group123>sample string 19</Group123> <Group2>9</Group2> <Group3>10</Group3> <ImageName>sample string 22</ImageName> <ImagePath>sample string 23</ImagePath> <IsComplete>true</IsComplete> <IsDefault>sample string 21</IsDefault> <IsNotWPIT>true</IsNotWPIT> <KeyWords>sample string 26</KeyWords> <MakeID>1</MakeID> <MinutesToRemove>11</MinutesToRemove> <ModelID>2</ModelID> <ModifiedBy>17</ModifiedBy> <ModifiedDate>2020-02-27T04:39:22.9145092+11:00</ModifiedDate> <OEMPrice>14</OEMPrice> <Part>sample string 20</Part> <PartDescription>sample string 6</PartDescription> <PartID>4</PartID> <PartName>sample string 5</PartName> <PricelistID>27</PricelistID> <SeriesID>3</SeriesID> <ShippingCost>12</ShippingCost> <ShippingWeight>sample string 25</ShippingWeight> <productorder>28</productorder> </HubPartModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.