DELETE api/Department/DeletePositionFromDepartment?memberAbbreviation={memberAbbreviation}&departmentName={departmentName}

Deletes a member from department

Request Information

URI Parameters

NameDescriptionTypeMandatory when
memberAbbreviation

string

Always Required

departmentName

string

Always Required

Body Parameters

None.

Response Information

Resource Description

JsonResponseModelOfString
NameDescriptionTypeMandatory when
ResponseCode

integer

ResponseMessage

string

Data

string

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 200,
  "ResponseMessage": "Position deleted from department.",
  "Data": "ACC"
}

text/xml

Sample:
<JsonResponseModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RGS.API.Models">
  <Data>ACC</Data>
  <ResponseCode>200</ResponseCode>
  <ResponseMessage>Position deleted from department.</ResponseMessage>
</JsonResponseModelOfstring>

Error Response Causes

  • Invalid API credentials
  • No department exists with the given name
  • No position exists with the given abbreviation
  • The position is not in department