POST api/Labour/AddUpdateLabour
Request Information
URI Parameters
None.
Body Parameters
LabourModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LabourID | string |
None. |
|
| BranchID | string |
None. |
|
| EmployeeID | string |
None. |
|
| LabourName | string |
None. |
|
| MobileNo | string |
None. |
|
| Gender | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LabourID": "sample string 1",
"BranchID": "sample string 2",
"EmployeeID": "sample string 3",
"LabourName": "sample string 4",
"MobileNo": "sample string 5",
"Gender": "sample string 6"
}
application/xml, text/xml
Sample:
<LabourModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOOSTERPARIS_WEB_API.Models"> <BranchID>sample string 2</BranchID> <EmployeeID>sample string 3</EmployeeID> <Gender>sample string 6</Gender> <LabourID>sample string 1</LabourID> <LabourName>sample string 4</LabourName> <MobileNo>sample string 5</MobileNo> </LabourModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |