POST api/HandOver/AddUpdate

Request Information

URI Parameters

None.

Body Parameters

tpy_handover1
NameDescriptionTypeAdditional information
handover_code

decimal number

None.

handover_no

decimal number

None.

com_code

decimal number

None.

handover_date

date

None.

loc_code

decimal number

None.

shift_code

decimal number

None.

handover_desc

string

None.

createdby

string

None.

createdon

date

None.

modifiedby

string

None.

modifiedon

date

None.

status

string

None.

user_code

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "handover_code": 1.0,
  "handover_no": 2.0,
  "com_code": 3.0,
  "handover_date": "2025-12-06T12:17:18.0325622+05:30",
  "loc_code": 4.0,
  "shift_code": 5.0,
  "handover_desc": "sample string 6",
  "createdby": "sample string 7",
  "createdon": "2025-12-06T12:17:18.0335252+05:30",
  "modifiedby": "sample string 9",
  "modifiedon": "2025-12-06T12:17:18.0335252+05:30",
  "status": "sample string 10",
  "user_code": 1.0
}

application/xml, text/xml

Sample:
<tpy_handover1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpotEZ.Data.models">
  <com_code>3</com_code>
  <createdby>sample string 7</createdby>
  <createdon>2025-12-06T12:17:18.0335252+05:30</createdon>
  <handover_code>1</handover_code>
  <handover_date>2025-12-06T12:17:18.0325622+05:30</handover_date>
  <handover_desc>sample string 6</handover_desc>
  <handover_no>2</handover_no>
  <loc_code>4</loc_code>
  <modifiedby>sample string 9</modifiedby>
  <modifiedon>2025-12-06T12:17:18.0335252+05:30</modifiedon>
  <shift_code>5</shift_code>
  <status>sample string 10</status>
  <user_code>1</user_code>
</tpy_handover1>

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 'tpy_handover1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.