PUT api/labour/update
Request Information
URI Parameters
None.
Body Parameters
API.Infrastructure.Dto.Part.PartDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| TenantOrganisationId | globally unique identifier |
None. |
|
| Type | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| SupplierId | globally unique identifier |
None. |
|
| SupplierName | string |
None. |
|
| SupplierURL | string |
None. |
|
| SupplierPartId | globally unique identifier |
None. |
|
| SupplierPartNumber | string |
None. |
|
| SupplierPartName | string |
None. |
|
| SupplierPartDescription | string |
None. |
|
| SupplierPriceGross | decimal number |
None. |
|
| SupplierPriceNet | decimal number |
None. |
|
| SupplierPriceTaxAmount | decimal number |
None. |
|
| SupplierOutOfStock | boolean |
None. |
|
| SalesPriceGross | decimal number |
None. |
|
| SalesPriceNet | decimal number |
None. |
|
| SalesPriceTaxAmount | decimal number |
None. |
|
| SalesTaxName | string |
None. |
|
| IsGlobal | boolean |
None. |
|
| CurrencyCode | string |
None. |
|
| TaxRate | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "4ffd25a8-0a2f-4e66-87cd-c04eee0b60c9",
"tenantOrganisationId": "d6c6f2fe-1318-4c3e-998f-c2746be06237",
"type": 2,
"name": "sample string 3",
"description": "sample string 4",
"supplierId": "54acb5f2-810c-4fa1-986f-f6d4f81d9e2b",
"supplierName": "sample string 5",
"supplierURL": "sample string 6",
"supplierPartId": "9a5a39b4-ead3-4326-a4c3-ea7ffd34fc79",
"supplierPartNumber": "sample string 7",
"supplierPartName": "sample string 8",
"supplierPartDescription": "sample string 9",
"supplierPriceGross": 1.0,
"supplierPriceNet": 1.0,
"supplierPriceTaxAmount": 1.0,
"supplierOutOfStock": true,
"salesPriceGross": 1.0,
"salesPriceNet": 1.0,
"salesPriceTaxAmount": 1.0,
"salesTaxName": "sample string 11",
"isGlobal": true,
"currencyCode": "sample string 13",
"taxRate": 14.0
}
text/html
Sample:
{"id":"4ffd25a8-0a2f-4e66-87cd-c04eee0b60c9","tenantOrganisationId":"d6c6f2fe-1318-4c3e-998f-c2746be06237","type":2,"name":"sample string 3","description":"sample string 4","supplierId":"54acb5f2-810c-4fa1-986f-f6d4f81d9e2b","supplierName":"sample string 5","supplierURL":"sample string 6","supplierPartId":"9a5a39b4-ead3-4326-a4c3-ea7ffd34fc79","supplierPartNumber":"sample string 7","supplierPartName":"sample string 8","supplierPartDescription":"sample string 9","supplierPriceGross":1.0,"supplierPriceNet":1.0,"supplierPriceTaxAmount":1.0,"supplierOutOfStock":true,"salesPriceGross":1.0,"salesPriceNet":1.0,"salesPriceTaxAmount":1.0,"salesTaxName":"sample string 11","isGlobal":true,"currencyCode":"sample string 13","taxRate":14.0}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.