GET api/Entitlement/Get?code={code}&authKey={authKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
|
| authKey | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseOfEntitlementApi| Name | Description | Type | Additional information |
|---|---|---|---|
| Flag | boolean |
None. |
|
| Message | string |
None. |
|
| Data | EntitlementApi |
None. |
Response Formats
application/json, text/json
Sample:
{
"Flag": true,
"Message": "sample string 2",
"Data": {
"PINCode": "sample string 1",
"Product": "sample string 2",
"HelpDeskOwner": {
"Name": "sample string 1",
"Phone": "sample string 2",
"Email": "sample string 3",
"Extention": "sample string 4"
},
"Queue": "sample string 3",
"IsSupportService": true
}
}
application/xml, text/xml
Sample:
<ResponseOfEntitlementApiRxU3KaMZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SestekCrm.Entities">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SestekCrm.Entities.Concrete.EntitlementModels">
<d2p1:HelpDeskOwner xmlns:d3p1="http://schemas.datacontract.org/2004/07/SestekCrm.Entities.Concrete.UserModel">
<d3p1:Email>sample string 3</d3p1:Email>
<d3p1:Extention>sample string 4</d3p1:Extention>
<d3p1:Name>sample string 1</d3p1:Name>
<d3p1:Phone>sample string 2</d3p1:Phone>
</d2p1:HelpDeskOwner>
<d2p1:IsSupportService>true</d2p1:IsSupportService>
<d2p1:PINCode>sample string 1</d2p1:PINCode>
<d2p1:Product>sample string 2</d2p1:Product>
<d2p1:Queue>sample string 3</d2p1:Queue>
</Data>
<Flag>true</Flag>
<Message>sample string 2</Message>
</ResponseOfEntitlementApiRxU3KaMZ>