POST UpdateDepartmentAttendance?databaseKey={databaseKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
databaseKey

string

Required

Body Parameters

Collection of DepartmentModal
NameDescriptionTypeAdditional information
Department_Name

string

None.

Dept_Code

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Department_Name": "sample string 1",
    "Dept_Code": "sample string 2"
  },
  {
    "Department_Name": "sample string 1",
    "Dept_Code": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDepartmentModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rx2025_Api.Controllers">
  <DepartmentModal>
    <Department_Name>sample string 1</Department_Name>
    <Dept_Code>sample string 2</Dept_Code>
  </DepartmentModal>
  <DepartmentModal>
    <Department_Name>sample string 1</Department_Name>
    <Dept_Code>sample string 2</Dept_Code>
  </DepartmentModal>
</ArrayOfDepartmentModal>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.