PUT api/Recipe/Update

Request Information

URI Parameters

None.

Body Parameters

RecipeUpdateDto
NameDescriptionTypeAdditional 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-05-24T14:52:34.576492+03:00",
  "updateDT": "2025-05-24T14:52:34.576492+03:00",
  "createByID": "34101246-807e-47d9-a7f6-3f22de72882e",
  "updateByID": "56617fc3-8393-4a11-a59d-0d3b00513d2e",
  "isDeleted": true,
  "validFor": 8,
  "isEDocumentActive": true,
  "isECommerceActive": true,
  "isBankIntegrationActive": true,
  "id": "62236f0e-ab42-4e97-bcbd-0beefaa349f1",
  "companyID": "2f438562-7013-4934-a12c-a1d332820d09"
}

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">2f438562-7013-4934-a12c-a1d332820d09</CompanyID>
  <ID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">62236f0e-ab42-4e97-bcbd-0beefaa349f1</ID>
  <Code>sample string 5</Code>
  <CreateByID>34101246-807e-47d9-a7f6-3f22de72882e</CreateByID>
  <CreateDT>2025-05-24T14:52:34.576492+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>56617fc3-8393-4a11-a59d-0d3b00513d2e</UpdateByID>
  <UpdateDT>2025-05-24T14:52:34.576492+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-05-24T14:52:34.576492+03:00","updateDT":"2025-05-24T14:52:34.576492+03:00","createByID":"34101246-807e-47d9-a7f6-3f22de72882e","updateByID":"56617fc3-8393-4a11-a59d-0d3b00513d2e","isDeleted":true,"validFor":8,"isEDocumentActive":true,"isECommerceActive":true,"isBankIntegrationActive":true,"id":"62236f0e-ab42-4e97-bcbd-0beefaa349f1","companyID":"2f438562-7013-4934-a12c-a1d332820d09"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.