PUT api/Licence/Update
Request Information
URI Parameters
None.
Body Parameters
LicenceUpdateDtoName | Description | Type | Additional 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-08-05T21:16:13.0016259+03:00", "endDate": "2025-08-05T21:16:13.0016259+03:00", "price": 6.0, "code": "sample string 7", "createDate": "2025-08-05T21:16:13.0016259+03:00", "updateDate": "2025-08-05T21:16:13.0016259+03:00", "updateById": "f7c6fc9e-dca4-4f65-9149-d9a966e53388", "companyID": "364facff-2b44-46cd-8956-6cfe016c3d28" }
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">364facff-2b44-46cd-8956-6cfe016c3d28</CompanyID> <ID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">31dad892-92e2-49a8-989a-c8802037e12f</ID> <Code>sample string 7</Code> <CreateDate>2025-08-05T21:16:13.0016259+03:00</CreateDate> <Description>sample string 3</Description> <EndDate>2025-08-05T21:16:13.0016259+03:00</EndDate> <Id>sample string 1</Id> <Name>sample string 2</Name> <Price>6</Price> <StartDate>2025-08-05T21:16:13.0016259+03:00</StartDate> <UpdateById>f7c6fc9e-dca4-4f65-9149-d9a966e53388</UpdateById> <UpdateDate>2025-08-05T21:16:13.0016259+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-08-05T21:16:13.0016259+03:00","endDate":"2025-08-05T21:16:13.0016259+03:00","price":6.0,"code":"sample string 7","createDate":"2025-08-05T21:16:13.0016259+03:00","updateDate":"2025-08-05T21:16:13.0016259+03:00","updateById":"f7c6fc9e-dca4-4f65-9149-d9a966e53388","companyID":"364facff-2b44-46cd-8956-6cfe016c3d28"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.