PUT api/EstLabour/Update
Request Information
URI Parameters
None.
Body Parameters
EstLabourUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| LabourId | integer |
Required |
|
| LabourName | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| Prefix | PrefixLookup |
Required |
|
| Address | string |
String length: inclusive between 0 and 200 |
|
| ContactNumber | string |
String length: inclusive between 0 and 50 |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"LabourId": 2,
"LabourName": "sample string 3",
"Code": "sample string 4",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"Address": "sample string 5",
"ContactNumber": "sample string 6",
"Status": "sample string 7",
"UpdateUser": 8,
"UpdateIp": "sample string 9"
}
application/xml, text/xml
Sample:
<EstLabourUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Address>sample string 5</Address>
<BookId>1</BookId>
<Code>sample string 4</Code>
<ContactNumber>sample string 6</ContactNumber>
<LabourId>2</LabourId>
<LabourName>sample string 3</LabourName>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<Status>sample string 7</Status>
<UpdateIp>sample string 9</UpdateIp>
<UpdateUser>8</UpdateUser>
</EstLabourUpdateVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.