POST api/License/AddLicense
Request Information
URI Parameters
None.
Body Parameters
AddLicenseRequestVM| Name | Description | Type | Additional information |
|---|---|---|---|
| LicenseID | integer |
None. |
|
| UserID | integer |
None. |
|
| Description | string |
None. |
|
| DateFrom | date |
None. |
|
| DateTo | date |
None. |
|
| Response | AddLicenseResponseVM |
None. |
|
| EntityID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LicenseID": 1,
"UserID": 1,
"Description": "sample string 2",
"DateFrom": "09/12/2025 15:11:22",
"DateTo": "09/12/2025 15:11:22",
"Response": {
"Success": true,
"EntityID": 2
},
"EntityID": 5
}
application/xml, text/xml
Sample:
<AddLicenseRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KITS.Clockits.ViewModels">
<EntityID>5</EntityID>
<DateFrom>2025-12-09T15:11:22.4222095-03:00</DateFrom>
<DateTo>2025-12-09T15:11:22.4222095-03:00</DateTo>
<Description>sample string 2</Description>
<LicenseID>1</LicenseID>
<Response>
<EntityID>2</EntityID>
<Success>true</Success>
</Response>
<UserID>1</UserID>
</AddLicenseRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AdapterResponseVMOfAddLicenseResponseVM| Name | Description | Type | Additional information |
|---|---|---|---|
| Alerts | Collection of Object |
None. |
|
| ResponseVM | AddLicenseResponseVM |
None. |
Response Formats
application/json, text/json
Sample:
{
"Alerts": null,
"ResponseVM": {
"Success": true,
"EntityID": 2
}
}
application/xml, text/xml
Sample:
<AdapterResponseVMOfAddLicenseResponseVME9VEPO_Sh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FwKits.Core.Presentation.Adapter.Base">
<Alerts xmlns:d2p1="http://schemas.datacontract.org/2004/07/FwKits.Common.Validations" i:nil="true" />
<ResponseVM xmlns:d2p1="http://schemas.datacontract.org/2004/07/KITS.Clockits.ViewModels">
<d2p1:EntityID>2</d2p1:EntityID>
<d2p1:Success>true</d2p1:Success>
</ResponseVM>
</AdapterResponseVMOfAddLicenseResponseVME9VEPO_Sh>