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-05-24T14:58:33.4429385+03:00", "endDate": "2025-05-24T14:58:33.4429385+03:00", "price": 6.0, "code": "sample string 7", "createDate": "2025-05-24T14:58:33.4429385+03:00", "updateDate": "2025-05-24T14:58:33.4429385+03:00", "updateById": "4884400f-47e3-497b-90e9-e79047a64418", "companyID": "7ea936d7-4847-46a0-8d4c-48c063f91764" }
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">7ea936d7-4847-46a0-8d4c-48c063f91764</CompanyID> <ID xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">ebd445a2-8960-4431-8dd1-2ba3651cb233</ID> <Code>sample string 7</Code> <CreateDate>2025-05-24T14:58:33.4429385+03:00</CreateDate> <Description>sample string 3</Description> <EndDate>2025-05-24T14:58:33.4429385+03:00</EndDate> <Id>sample string 1</Id> <Name>sample string 2</Name> <Price>6</Price> <StartDate>2025-05-24T14:58:33.4429385+03:00</StartDate> <UpdateById>4884400f-47e3-497b-90e9-e79047a64418</UpdateById> <UpdateDate>2025-05-24T14:58:33.4429385+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-24T14:58:33.4429385+03:00","endDate":"2025-05-24T14:58:33.4429385+03:00","price":6.0,"code":"sample string 7","createDate":"2025-05-24T14:58:33.4429385+03:00","updateDate":"2025-05-24T14:58:33.4429385+03:00","updateById":"4884400f-47e3-497b-90e9-e79047a64418","companyID":"7ea936d7-4847-46a0-8d4c-48c063f91764"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.