POST api/Jobs_App/JOB-CLOSE

Request Information

URI Parameters

None.

Body Parameters

Jobs_App
NameDescriptionTypeAdditional information
details

Details

None.

DRIVER_ID

string

None.

HIRER_ID

string

None.

JOB_ID

string

None.

CONTACT_PERSON

string

None.

PHONE_NO

string

None.

JOB_TRIP

string

None.

DRIVER_COUNT

string

None.

HIRE_TYPE

string

None.

JOB_TYPE

string

None.

HIRE_QUANTITY

string

None.

HIRE_RATE

string

None.

HIRE_COST

string

None.

PICKUP_LOCATION

string

None.

DROP_LOCATION

string

None.

PICKUP_DATE

string

None.

JOB_POOL

string

None.

SHORT_DESCRIPTION

string

None.

LONG_DESCRIPTION

string

None.

ADDITIONAL_NOTES

string

None.

APPLY_ID

string

None.

STATUS

string

None.

STATUS_ID

string

None.

IS_COMPLETED

string

None.

ACTION_CLOCK

string

None.

CLOCK_IN

string

None.

CLOCK_OUT

string

None.

CLOCK_IN_LOCATION

string

None.

CLOCK_OUT_LOCATION

string

None.

Request Formats

application/json, text/json

Sample:
{
  "details": {
    "formName": "sample string 1",
    "userId": "sample string 2"
  },
  "DRIVER_ID": "sample string 1",
  "HIRER_ID": "sample string 2",
  "JOB_ID": "sample string 3",
  "CONTACT_PERSON": "sample string 4",
  "PHONE_NO": "sample string 5",
  "JOB_TRIP": "sample string 6",
  "DRIVER_COUNT": "sample string 7",
  "HIRE_TYPE": "sample string 8",
  "JOB_TYPE": "sample string 9",
  "HIRE_QUANTITY": "sample string 10",
  "HIRE_RATE": "sample string 11",
  "HIRE_COST": "sample string 12",
  "PICKUP_LOCATION": "sample string 13",
  "DROP_LOCATION": "sample string 14",
  "PICKUP_DATE": "sample string 15",
  "JOB_POOL": "sample string 16",
  "SHORT_DESCRIPTION": "sample string 17",
  "LONG_DESCRIPTION": "sample string 18",
  "ADDITIONAL_NOTES": "sample string 19",
  "APPLY_ID": "sample string 20",
  "STATUS": "sample string 21",
  "STATUS_ID": "sample string 22",
  "IS_COMPLETED": "sample string 23",
  "ACTION_CLOCK": "sample string 24",
  "CLOCK_IN": "sample string 25",
  "CLOCK_OUT": "sample string 26",
  "CLOCK_IN_LOCATION": "sample string 27",
  "CLOCK_OUT_LOCATION": "sample string 28"
}

application/xml, text/xml

Sample:
<Jobs_App xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HGVDG_API.Controllers.Driver">
  <ACTION_CLOCK>sample string 24</ACTION_CLOCK>
  <ADDITIONAL_NOTES>sample string 19</ADDITIONAL_NOTES>
  <APPLY_ID>sample string 20</APPLY_ID>
  <CLOCK_IN>sample string 25</CLOCK_IN>
  <CLOCK_IN_LOCATION>sample string 27</CLOCK_IN_LOCATION>
  <CLOCK_OUT>sample string 26</CLOCK_OUT>
  <CLOCK_OUT_LOCATION>sample string 28</CLOCK_OUT_LOCATION>
  <CONTACT_PERSON>sample string 4</CONTACT_PERSON>
  <DRIVER_COUNT>sample string 7</DRIVER_COUNT>
  <DRIVER_ID>sample string 1</DRIVER_ID>
  <DROP_LOCATION>sample string 14</DROP_LOCATION>
  <HIRER_ID>sample string 2</HIRER_ID>
  <HIRE_COST>sample string 12</HIRE_COST>
  <HIRE_QUANTITY>sample string 10</HIRE_QUANTITY>
  <HIRE_RATE>sample string 11</HIRE_RATE>
  <HIRE_TYPE>sample string 8</HIRE_TYPE>
  <IS_COMPLETED>sample string 23</IS_COMPLETED>
  <JOB_ID>sample string 3</JOB_ID>
  <JOB_POOL>sample string 16</JOB_POOL>
  <JOB_TRIP>sample string 6</JOB_TRIP>
  <JOB_TYPE>sample string 9</JOB_TYPE>
  <LONG_DESCRIPTION>sample string 18</LONG_DESCRIPTION>
  <PHONE_NO>sample string 5</PHONE_NO>
  <PICKUP_DATE>sample string 15</PICKUP_DATE>
  <PICKUP_LOCATION>sample string 13</PICKUP_LOCATION>
  <SHORT_DESCRIPTION>sample string 17</SHORT_DESCRIPTION>
  <STATUS>sample string 21</STATUS>
  <STATUS_ID>sample string 22</STATUS_ID>
  <details xmlns:d2p1="http://schemas.datacontract.org/2004/07/HGVDG_API">
    <d2p1:formName>sample string 1</d2p1:formName>
    <d2p1:userId>sample string 2</d2p1:userId>
  </details>
</Jobs_App>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>