POST api/staff/delete

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "staffId": "7c268786-be35-432f-a1e0-581361770255",
  "delFlg": true,
  "createdOn": "2020-09-28T05:22:58.862434+00:00",
  "createdBy": "a16b4a9c-dc94-40e4-a56c-01802a3e3e94",
  "updatedOn": "2020-09-28T05:22:58.862434+00:00",
  "updatedBy": "0efd91d4-298b-426a-a23c-ade818f0c5be",
  "companyId": 5,
  "staffCategoryCode": "sample string 6",
  "deptCode": "sample string 7",
  "firstName": "sample string 8",
  "lastName": "sample string 9",
  "title": "sample string 10",
  "gender": "sample string 11",
  "maritalStatus": "sample string 12",
  "religion": "sample string 13",
  "fatherFirstName": "sample string 14",
  "fatherLastName": "sample string 15",
  "spousefirstName": "sample string 16",
  "spouselastName": "sample string 17",
  "dateOfBirth": "2020-09-28T05:22:58.862434+00:00",
  "dateOfJoining": "2020-09-28T05:22:58.862434+00:00",
  "dateOfLeaving": "2020-09-28T05:22:58.862434+00:00",
  "country": "sample string 18",
  "state": "sample string 19",
  "city": "sample string 20",
  "addressLine1": "sample string 21",
  "addressLine2": "sample string 22",
  "buildingNo": "sample string 23",
  "streetName": "sample string 24",
  "aptFloor": "sample string 25",
  "indcityId": 1,
  "indDTCode": 1,
  "indSDTCode": 1,
  "indSTCode": 1,
  "policeStation": "sample string 26",
  "postCode": "sample string 27",
  "phone1": "sample string 28",
  "phone2": "sample string 29",
  "phone3": "sample string 30",
  "fax1": "sample string 31",
  "emailAddress": "sample string 32",
  "remarks": "sample string 33",
  "cityId": "9fd9bae3-0e1b-455f-9f43-dd4f3ac251f0",
  "Status": "sample string 34",
  "message": "sample string 35",
  "password": "sample string 36",
  "confirmPassword": "sample string 37",
  "userImagedata": "sample string 38",
  "imgbase64": "sample string 39",
  "staffImage": "19c3391f-79e6-4eb2-88ff-e6cc702184f4",
  "roleCode": "sample string 40",
  "sysUsrRoleId": "d0f65d54-a2b5-4ef7-9769-029ba684a2f0",
  "isstaff": true
}

application/xml, text/xml

Sample:
<companyStaffsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <Status>sample string 34</Status>
  <addressLine1>sample string 21</addressLine1>
  <addressLine2>sample string 22</addressLine2>
  <aptFloor>sample string 25</aptFloor>
  <buildingNo>sample string 23</buildingNo>
  <city>sample string 20</city>
  <cityId>9fd9bae3-0e1b-455f-9f43-dd4f3ac251f0</cityId>
  <companyId>5</companyId>
  <confirmPassword>sample string 37</confirmPassword>
  <country>sample string 18</country>
  <createdBy>a16b4a9c-dc94-40e4-a56c-01802a3e3e94</createdBy>
  <createdOn>2020-09-28T05:22:58.862434+00:00</createdOn>
  <dateOfBirth>2020-09-28T05:22:58.862434+00:00</dateOfBirth>
  <dateOfJoining>2020-09-28T05:22:58.862434+00:00</dateOfJoining>
  <dateOfLeaving>2020-09-28T05:22:58.862434+00:00</dateOfLeaving>
  <delFlg>true</delFlg>
  <deptCode>sample string 7</deptCode>
  <emailAddress>sample string 32</emailAddress>
  <fatherFirstName>sample string 14</fatherFirstName>
  <fatherLastName>sample string 15</fatherLastName>
  <fax1>sample string 31</fax1>
  <firstName>sample string 8</firstName>
  <gender>sample string 11</gender>
  <imgbase64>sample string 39</imgbase64>
  <indDTCode>1</indDTCode>
  <indSDTCode>1</indSDTCode>
  <indSTCode>1</indSTCode>
  <indcityId>1</indcityId>
  <isstaff>true</isstaff>
  <lastName>sample string 9</lastName>
  <maritalStatus>sample string 12</maritalStatus>
  <message>sample string 35</message>
  <password>sample string 36</password>
  <phone1>sample string 28</phone1>
  <phone2>sample string 29</phone2>
  <phone3>sample string 30</phone3>
  <policeStation>sample string 26</policeStation>
  <postCode>sample string 27</postCode>
  <religion>sample string 13</religion>
  <remarks>sample string 33</remarks>
  <roleCode>sample string 40</roleCode>
  <spousefirstName>sample string 16</spousefirstName>
  <spouselastName>sample string 17</spouselastName>
  <staffCategoryCode>sample string 6</staffCategoryCode>
  <staffId>7c268786-be35-432f-a1e0-581361770255</staffId>
  <staffImage>19c3391f-79e6-4eb2-88ff-e6cc702184f4</staffImage>
  <state>sample string 19</state>
  <streetName>sample string 24</streetName>
  <sysUsrRoleId>d0f65d54-a2b5-4ef7-9769-029ba684a2f0</sysUsrRoleId>
  <title>sample string 10</title>
  <updatedBy>0efd91d4-298b-426a-a23c-ade818f0c5be</updatedBy>
  <updatedOn>2020-09-28T05:22:58.862434+00:00</updatedOn>
  <userImagedata>sample string 38</userImagedata>
</companyStaffsModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'companyStaffsModel'.