PUT api/Licence/Update

Request Information

URI Parameters

None.

Body Parameters

LicenceUpdateDto
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

Description

string

None.

StartDate

date

None.

EndDate

date

None.

Price

decimal number

None.

Code

string

None.

CreateDate

date

None.

UpdateDate

date

None.

UpdateById

globally unique identifier

None.

ID

globally unique identifier

Required

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2",
  "description": "sample string 3",
  "startDate": "2025-05-24T17:12:25.6755693+03:00",
  "endDate": "2025-05-24T17:12:25.6755693+03:00",
  "price": 6.0,
  "code": "sample string 7",
  "createDate": "2025-05-24T17:12:25.6755693+03:00",
  "updateDate": "2025-05-24T17:12:25.6755693+03:00",
  "updateById": "36ac50d6-174d-427c-8765-86e5ba832edb",
  "companyID": "ba07f47e-deb2-4e73-8309-bb928f1020a9"
}

application/xml, text/xml

Sample:
<LicenceUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs.Licence">
  <CompanyID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">ba07f47e-deb2-4e73-8309-bb928f1020a9</CompanyID>
  <ID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">8a928e21-bd52-49dd-9210-b914056cee94</ID>
  <Code>sample string 7</Code>
  <CreateDate>2025-05-24T17:12:25.6755693+03:00</CreateDate>
  <Description>sample string 3</Description>
  <EndDate>2025-05-24T17:12:25.6755693+03:00</EndDate>
  <Id>sample string 1</Id>
  <Name>sample string 2</Name>
  <Price>6</Price>
  <StartDate>2025-05-24T17:12:25.6755693+03:00</StartDate>
  <UpdateById>36ac50d6-174d-427c-8765-86e5ba832edb</UpdateById>
  <UpdateDate>2025-05-24T17:12:25.6755693+03:00</UpdateDate>
</LicenceUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"id":"sample string 1","name":"sample string 2","description":"sample string 3","startDate":"2025-05-24T17:12:25.6755693+03:00","endDate":"2025-05-24T17:12:25.6755693+03:00","price":6.0,"code":"sample string 7","createDate":"2025-05-24T17:12:25.6755693+03:00","updateDate":"2025-05-24T17:12:25.6755693+03:00","updateById":"36ac50d6-174d-427c-8765-86e5ba832edb","companyID":"ba07f47e-deb2-4e73-8309-bb928f1020a9"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.