POST api/Timesheet/timesheet-engagement
Request Information
URI Parameters
None.
Body Parameters
Timesheet| Name | Description | Type | Additional information |
|---|---|---|---|
| details | Details |
None. |
|
| HIRER_ID | string |
None. |
|
| DRIVER_ID | string |
None. |
|
| TIMESHEET_ID | string |
None. |
|
| INVOICE_TYPE | string |
None. |
|
| START_DATE | string |
None. |
|
| TIMESHEETS_DETAILS | string |
None. |
|
| IS_SUBMIT | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"details": {
"formName": "sample string 1",
"userId": "sample string 2"
},
"HIRER_ID": "sample string 1",
"DRIVER_ID": "sample string 2",
"TIMESHEET_ID": "sample string 3",
"INVOICE_TYPE": "sample string 4",
"START_DATE": "sample string 5",
"TIMESHEETS_DETAILS": "sample string 6",
"IS_SUBMIT": "sample string 7"
}
application/xml, text/xml
Sample:
<Timesheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HGVDG_API.Controllers.Driver">
<DRIVER_ID>sample string 2</DRIVER_ID>
<HIRER_ID>sample string 1</HIRER_ID>
<INVOICE_TYPE>sample string 4</INVOICE_TYPE>
<IS_SUBMIT>sample string 7</IS_SUBMIT>
<START_DATE>sample string 5</START_DATE>
<TIMESHEETS_DETAILS>sample string 6</TIMESHEETS_DETAILS>
<TIMESHEET_ID>sample string 3</TIMESHEET_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>
</Timesheet>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| CaseSensitive | boolean |
None. |
|
| IsInitialized | boolean |
None. |
|
| RemotingFormat | SerializationFormat |
None. |
|
| ChildRelations | Collection of Object |
None. |
|
| Columns | Collection of Object |
None. |
|
| Constraints | Collection of Object |
None. |
|
| DataSet | DataSet |
None. |
|
| DefaultView | Collection of Object |
None. |
|
| DisplayExpression | string |
None. |
|
| ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
| HasErrors | boolean |
None. |
|
| Locale | CultureInfo |
None. |
|
| MinimumCapacity | integer |
None. |
|
| ParentRelations | Collection of Object |
None. |
|
| PrimaryKey | Collection of DataColumn |
None. |
|
| Rows | Collection of Object |
None. |
|
| TableName | string |
None. |
|
| Namespace | string |
None. |
|
| Prefix | string |
None. |
|
| Site | ISite |
None. |
|
| Container | IContainer |
None. |
|
| DesignMode | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.