POST api/Master/AddJobsheet
Request Information
URI Parameters
None.
Body Parameters
Jobsheet| Name | Description | Type | Additional information |
|---|---|---|---|
| jobsheet_ID | string |
None. |
|
| instrument_SerialNumber | string |
None. |
|
| timeIn | string |
None. |
|
| timeOut | string |
None. |
|
| jobDate | string |
None. |
|
| interventionType_ID | integer |
None. |
|
| comments | string |
None. |
|
| empCreatedID | integer |
None. |
|
| instrumentStatusID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"jobsheet_ID": "sample string 1",
"instrument_SerialNumber": "sample string 2",
"timeIn": "sample string 3",
"timeOut": "sample string 4",
"jobDate": "sample string 5",
"interventionType_ID": 6,
"comments": "sample string 7",
"empCreatedID": 8,
"instrumentStatusID": 9
}
application/xml, text/xml
Sample:
<Jobsheet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models"> <comments>sample string 7</comments> <empCreatedID>8</empCreatedID> <instrumentStatusID>9</instrumentStatusID> <instrument_SerialNumber>sample string 2</instrument_SerialNumber> <interventionType_ID>6</interventionType_ID> <jobDate>sample string 5</jobDate> <jobsheet_ID>sample string 1</jobsheet_ID> <timeIn>sample string 3</timeIn> <timeOut>sample string 4</timeOut> </Jobsheet>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": 2
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models"> <Message>sample string 1</Message> <Status>2</Status> </Response>