GET api/CallPermissions/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of APICallPermission
NameDescriptionTypeAdditional information
ID

integer

None.

CallID

integer

None.

Reason

string

None.

GrantedToID

integer

None.

GrantedByID

integer

None.

Expires

date

None.

IsProtected

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CallID": 1,
    "Reason": "sample string 2",
    "GrantedToID": 1,
    "GrantedByID": 1,
    "Expires": "2025-08-29T02:54:53.0286478+01:00",
    "IsProtected": true
  },
  {
    "ID": 1,
    "CallID": 1,
    "Reason": "sample string 2",
    "GrantedToID": 1,
    "GrantedByID": 1,
    "Expires": "2025-08-29T02:54:53.0286478+01:00",
    "IsProtected": true
  }
]

application/octet-stream, multipart/form-data

Sample:
[{"ID":1,"CallID":1,"Reason":"sample string 2","GrantedToID":1,"GrantedByID":1,"Expires":"2025-08-29T02:54:53.0286478+01:00","IsProtected":true},{"ID":1,"CallID":1,"Reason":"sample string 2","GrantedToID":1,"GrantedByID":1,"Expires":"2025-08-29T02:54:53.0286478+01:00","IsProtected":true}]

application/xml, text/xml

Sample:
<ArrayOfPermissions.APICallPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Modules">
  <Permissions.APICallPermission>
    <CallID>1</CallID>
    <Expires>2025-08-29T02:54:53.0286478+01:00</Expires>
    <GrantedByID>1</GrantedByID>
    <GrantedToID>1</GrantedToID>
    <ID>1</ID>
    <IsProtected>true</IsProtected>
    <Reason>sample string 2</Reason>
  </Permissions.APICallPermission>
  <Permissions.APICallPermission>
    <CallID>1</CallID>
    <Expires>2025-08-29T02:54:53.0286478+01:00</Expires>
    <GrantedByID>1</GrantedByID>
    <GrantedToID>1</GrantedToID>
    <ID>1</ID>
    <IsProtected>true</IsProtected>
    <Reason>sample string 2</Reason>
  </Permissions.APICallPermission>
</ArrayOfPermissions.APICallPermission>