POST api/License?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LicenseRequestResultViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Granted | integer |
None. |
|
| Reason | string |
None. |
|
| ReasonCode | integer |
None. |
|
| LicenseTypeId | integer |
None. |
|
| HasCNC | boolean |
None. |
|
| HasEstimate | boolean |
None. |
|
| HasCad | boolean |
None. |
|
| HasBOMOnly | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"granted": 1,
"reason": "sample string 2",
"reasonCode": 3,
"licenseTypeId": 4,
"hasCNC": true,
"hasEstimate": true,
"hasCad": true,
"hasBOMOnly": true
}
application/xml, text/xml
Sample:
<LicenseRequestResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <Granted>1</Granted> <HasBOMOnly>true</HasBOMOnly> <HasCNC>true</HasCNC> <HasCad>true</HasCad> <HasEstimate>true</HasEstimate> <LicenseTypeId>4</LicenseTypeId> <Reason>sample string 2</Reason> <ReasonCode>3</ReasonCode> </LicenseRequestResultViewModel>