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-08T21:33:30.2741985+03:00", "updateDT": "2025-07-08T21:33:30.2741985+03:00", "createByID": "6fca4d00-3510-4486-abb3-a60c8aba5bf9", "updateByID": "dd4eb19d-0c49-4b0d-9152-a3612f41a7ed", "isDeleted": true, "validFor": 8, "isEDocumentActive": true, "isECommerceActive": true, "isBankIntegrationActive": true, "id": "5b41f98f-a208-489c-b802-955061843367", "companyID": "7df8c36b-9dae-4618-a324-9171ea001c6b" }
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">7df8c36b-9dae-4618-a324-9171ea001c6b</CompanyID> <ID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">5b41f98f-a208-489c-b802-955061843367</ID> <Code>sample string 5</Code> <CreateByID>6fca4d00-3510-4486-abb3-a60c8aba5bf9</CreateByID> <CreateDT>2025-07-08T21:33:30.2741985+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>dd4eb19d-0c49-4b0d-9152-a3612f41a7ed</UpdateByID> <UpdateDT>2025-07-08T21:33:30.2741985+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-08T21:33:30.2741985+03:00","updateDT":"2025-07-08T21:33:30.2741985+03:00","createByID":"6fca4d00-3510-4486-abb3-a60c8aba5bf9","updateByID":"dd4eb19d-0c49-4b0d-9152-a3612f41a7ed","isDeleted":true,"validFor":8,"isEDocumentActive":true,"isECommerceActive":true,"isBankIntegrationActive":true,"id":"5b41f98f-a208-489c-b802-955061843367","companyID":"7df8c36b-9dae-4618-a324-9171ea001c6b"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.