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-07-10T00:23:23.6729346+03:00", "updateDT": "2025-07-10T00:23:23.6729346+03:00", "createByID": "bbd91dd7-df47-4d08-bd6b-5fae1a961f47", "updateByID": "4ad1f120-abaa-4494-bd65-d9963888ce30", "isDeleted": true, "validFor": 8, "isEDocumentActive": true, "isECommerceActive": true, "isBankIntegrationActive": true, "id": "608f791a-a728-442f-8d0a-23b9c6a52a67", "companyID": "9c10fa1c-16c8-41fe-8ced-d41575b553cf" }
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">9c10fa1c-16c8-41fe-8ced-d41575b553cf</CompanyID> <ID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">608f791a-a728-442f-8d0a-23b9c6a52a67</ID> <Code>sample string 5</Code> <CreateByID>bbd91dd7-df47-4d08-bd6b-5fae1a961f47</CreateByID> <CreateDT>2025-07-10T00:23:23.6729346+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>4ad1f120-abaa-4494-bd65-d9963888ce30</UpdateByID> <UpdateDT>2025-07-10T00:23:23.6729346+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-07-10T00:23:23.6729346+03:00","updateDT":"2025-07-10T00:23:23.6729346+03:00","createByID":"bbd91dd7-df47-4d08-bd6b-5fae1a961f47","updateByID":"4ad1f120-abaa-4494-bd65-d9963888ce30","isDeleted":true,"validFor":8,"isEDocumentActive":true,"isECommerceActive":true,"isBankIntegrationActive":true,"id":"608f791a-a728-442f-8d0a-23b9c6a52a67","companyID":"9c10fa1c-16c8-41fe-8ced-d41575b553cf"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.