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-29T12:26:51.8387164+03:00", "endDate": "2025-08-29T12:26:51.8387164+03:00", "price": 6.0, "code": "sample string 7", "createDate": "2025-08-29T12:26:51.8387164+03:00", "updateDate": "2025-08-29T12:26:51.8387164+03:00", "updateById": "c6589121-fd07-4c48-95bb-71868baf5c95", "companyID": "eaf252ba-1f55-4ef8-987b-2c433ece401c" }
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">eaf252ba-1f55-4ef8-987b-2c433ece401c</CompanyID> <ID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">f20bbeb3-fc1e-42e0-aa0d-41a8258c4927</ID> <Code>sample string 7</Code> <CreateDate>2025-08-29T12:26:51.8387164+03:00</CreateDate> <Description>sample string 3</Description> <EndDate>2025-08-29T12:26:51.8387164+03:00</EndDate> <Id>sample string 1</Id> <Name>sample string 2</Name> <Price>6</Price> <StartDate>2025-08-29T12:26:51.8387164+03:00</StartDate> <UpdateById>c6589121-fd07-4c48-95bb-71868baf5c95</UpdateById> <UpdateDate>2025-08-29T12:26:51.8387164+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-29T12:26:51.8387164+03:00","endDate":"2025-08-29T12:26:51.8387164+03:00","price":6.0,"code":"sample string 7","createDate":"2025-08-29T12:26:51.8387164+03:00","updateDate":"2025-08-29T12:26:51.8387164+03:00","updateById":"c6589121-fd07-4c48-95bb-71868baf5c95","companyID":"eaf252ba-1f55-4ef8-987b-2c433ece401c"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.