POST Roster/InsertRoster

Request Information

URI Parameters

None.

Body Parameters

RosterInsertParam
NameDescriptionTypeAdditional information
surveyor_master_id

integer

None.

putData

Collection of RosterParam

None.

Request Formats

application/json, text/json

Sample:
{
  "surveyor_master_id": 1,
  "putData": [
    {
      "date": "2025-04-06T16:22:26.732643+05:30",
      "is_available": true,
      "shift_start_time": "2025-04-06T16:22:26.732643+05:30",
      "shift_end_time": "2025-04-06T16:22:26.732643+05:30"
    },
    {
      "date": "2025-04-06T16:22:26.732643+05:30",
      "is_available": true,
      "shift_start_time": "2025-04-06T16:22:26.732643+05:30",
      "shift_end_time": "2025-04-06T16:22:26.732643+05:30"
    }
  ]
}

application/xml, text/xml

Sample:
<RosterInsertParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FingerCrewAPI.Models">
  <putData>
    <RosterParam>
      <date>2025-04-06T16:22:26.732643+05:30</date>
      <is_available>true</is_available>
      <shift_end_time>2025-04-06T16:22:26.732643+05:30</shift_end_time>
      <shift_start_time>2025-04-06T16:22:26.732643+05:30</shift_start_time>
    </RosterParam>
    <RosterParam>
      <date>2025-04-06T16:22:26.732643+05:30</date>
      <is_available>true</is_available>
      <shift_end_time>2025-04-06T16:22:26.732643+05:30</shift_end_time>
      <shift_start_time>2025-04-06T16:22:26.732643+05:30</shift_start_time>
    </RosterParam>
  </putData>
  <surveyor_master_id>1</surveyor_master_id>
</RosterInsertParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.