PUT api/Recipe/Update
Request Information
URI Parameters
None.
Body Parameters
RecipeUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Price | decimal number |
None. |
|
Type | integer |
None. |
|
Status | integer |
None. |
|
Code | string |
None. |
|
CreateDT | date |
None. |
|
UpdateDT | date |
None. |
|
CreateByID | globally unique identifier |
None. |
|
UpdateByID | globally unique identifier |
None. |
|
IsDeleted | boolean |
None. |
|
ValidFor | integer |
None. |
|
IsEDocumentActive | boolean |
None. |
|
IsECommerceActive | boolean |
None. |
|
IsBankIntegrationActive | boolean |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "price": 2.0, "type": 3, "status": 4, "code": "sample string 5", "createDT": "2025-08-09T07:39:21.4649653+03:00", "updateDT": "2025-08-09T07:39:21.4649653+03:00", "createByID": "9cf0ccfc-c961-4a63-84c2-1f6433b584a8", "updateByID": "bb79ed43-8a0f-4b9d-9c83-70d829684aa8", "isDeleted": true, "validFor": 8, "isEDocumentActive": true, "isECommerceActive": true, "isBankIntegrationActive": true, "id": "ed189ea5-5b7c-4609-a94f-6a9bfb92a15a", "companyID": "66c153a4-87cd-4afc-b35d-cdbecbdc4f96" }
application/xml, text/xml
Sample:
<RecipeUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs.Recipe"> <CompanyID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">66c153a4-87cd-4afc-b35d-cdbecbdc4f96</CompanyID> <ID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">ed189ea5-5b7c-4609-a94f-6a9bfb92a15a</ID> <Code>sample string 5</Code> <CreateByID>9cf0ccfc-c961-4a63-84c2-1f6433b584a8</CreateByID> <CreateDT>2025-08-09T07:39:21.4649653+03:00</CreateDT> <IsBankIntegrationActive>true</IsBankIntegrationActive> <IsDeleted>true</IsDeleted> <IsECommerceActive>true</IsECommerceActive> <IsEDocumentActive>true</IsEDocumentActive> <Name>sample string 1</Name> <Price>2</Price> <Status>4</Status> <Type>3</Type> <UpdateByID>bb79ed43-8a0f-4b9d-9c83-70d829684aa8</UpdateByID> <UpdateDT>2025-08-09T07:39:21.4649653+03:00</UpdateDT> <ValidFor>8</ValidFor> </RecipeUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","price":2.0,"type":3,"status":4,"code":"sample string 5","createDT":"2025-08-09T07:39:21.4649653+03:00","updateDT":"2025-08-09T07:39:21.4649653+03:00","createByID":"9cf0ccfc-c961-4a63-84c2-1f6433b584a8","updateByID":"bb79ed43-8a0f-4b9d-9c83-70d829684aa8","isDeleted":true,"validFor":8,"isEDocumentActive":true,"isECommerceActive":true,"isBankIntegrationActive":true,"id":"ed189ea5-5b7c-4609-a94f-6a9bfb92a15a","companyID":"66c153a4-87cd-4afc-b35d-cdbecbdc4f96"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.