This method deletes the role with the specified ID. The client makes a POST request providing input parameters CompanyID, RoleID and LanguageID. The output will be either in json or xml format depending on the request type.
| Name | Value | |
|---|---|---|
| REST-API METHOD | DELETE ROLE BY ROLEID | |
| HTTP METHOD | POST | |
| RESPONSE TYPE | XML | |
| URL | https://api.csm.next4biz.net/services/RoleService/{CompanyID}/deleterole.json/{roleID}/{langID} | https://api.csm.next4biz.net/services/RoleService/{CompanyID}/deleterole.xml/{roleID}/{langID} |
| REQUEST HEAD | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+json,application/json;q=0.9,*/*;q=0.8 Content-Type: application/json | Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml |
<Response
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Message i:nil="true"/>
<Result>{Result}</Result>
</Response>
{
"Message": {},
"Result": "{Result}"
}