POST api/License/RejectLicense
Request Information
URI Parameters
None.
Body Parameters
RejectLicenseRequestVM| Name | Description | Type | Additional information |
|---|---|---|---|
| LicenseID | integer |
None. |
|
| RejectReason | string |
None. |
|
| Response | RejectLicenseResponseVM |
None. |
|
| EntityID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LicenseID": 1,
"RejectReason": "sample string 2",
"Response": {
"Success": true,
"EntityID": 2
},
"EntityID": 3
}
application/xml, text/xml
Sample:
<RejectLicenseRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KITS.Clockits.ViewModels">
<EntityID>3</EntityID>
<LicenseID>1</LicenseID>
<RejectReason>sample string 2</RejectReason>
<Response>
<EntityID>2</EntityID>
<Success>true</Success>
</Response>
</RejectLicenseRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AdapterResponseVMOfRejectLicenseResponseVM| Name | Description | Type | Additional information |
|---|---|---|---|
| Alerts | Collection of Object |
None. |
|
| ResponseVM | RejectLicenseResponseVM |
None. |
Response Formats
application/json, text/json
Sample:
{
"Alerts": null,
"ResponseVM": {
"Success": true,
"EntityID": 2
}
}
application/xml, text/xml
Sample:
<AdapterResponseVMOfRejectLicenseResponseVME9VEPO_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>
</AdapterResponseVMOfRejectLicenseResponseVME9VEPO_Sh>