POST api/v1/Users/RevokeBluIDMobileCredential
API to revoke BluID Mobile Credential
Request Information
URI Parameters
None.
Body Parameters
BluIDMobileCredentialRevokeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId |
Represents the ID of the User to obtain Revoke BluID credential for |
globally unique identifier |
Required |
| CardNumber |
Represents the Card Number which you want to revoke |
integer |
Required |
| SendEmail |
Whether we need to send email to the User |
boolean |
Required |
| APISessionId |
This API session ID will help to tag the response with the call |
globally unique identifier |
Required |
| CallbackURL |
BluB0X will call this URL once the Credential is revoked |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "0cad461a-800a-4740-a73a-8c360c9ead38",
"CardNumber": 2,
"SendEmail": true,
"APISessionId": "f28b20a1-f96a-4fd7-bf77-a9f60e2daef0",
"CallbackURL": "sample string 5"
}
application/xml, text/xml
Sample:
<BluIDMobileCredentialRevokeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers"> <APISessionId>f28b20a1-f96a-4fd7-bf77-a9f60e2daef0</APISessionId> <CallbackURL>sample string 5</CallbackURL> <CardNumber>2</CardNumber> <SendEmail>true</SendEmail> <UserId>0cad461a-800a-4740-a73a-8c360c9ead38</UserId> </BluIDMobileCredentialRevokeViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultCode |
Represents the result code |
integer |
None. |
| Description |
Represents a description of the result code |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultCode": 1,
"Description": "sample string 2"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers"> <Description>sample string 2</Description> <HttpStatusCode>Continue</HttpStatusCode> <ResultCode>1</ResultCode> </Result>