PUT api/WorkOrderv/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
WorkOrderv| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkOrdervId | integer |
None. |
|
| WorkOrderCode | string |
None. |
|
| WorkOrderDate | date |
None. |
|
| WorkOrderTypeId | integer |
None. |
|
| AccountId | integer |
None. |
|
| SalesOrderId | integer |
None. |
|
| ProjectRefCode | string |
None. |
|
| ProjectRefName | string |
None. |
|
| AccountName | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| StatusId | integer |
None. |
|
| CreatedDate | date |
Data type: DateTime |
|
| CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"WorkOrdervId": 1,
"WorkOrderCode": "sample string 2",
"WorkOrderDate": "2025-12-08T01:53:28.1426196+05:30",
"WorkOrderTypeId": 4,
"AccountId": 1,
"SalesOrderId": 1,
"ProjectRefCode": "sample string 5",
"ProjectRefName": "sample string 6",
"AccountName": "sample string 7",
"StartDate": "2025-12-08T01:53:28.1426196+05:30",
"EndDate": "2025-12-08T01:53:28.1426196+05:30",
"StatusId": 8,
"CreatedDate": "2025-12-08T01:53:28.1426196+05:30",
"CreatedBy": "sample string 10"
}
application/xml, text/xml
Sample:
<WorkOrderv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities.VirtualEntities"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">sample string 10</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">2025-12-08T01:53:28.1426196+05:30</CreatedDate> <AccountId>1</AccountId> <AccountName>sample string 7</AccountName> <EndDate>2025-12-08T01:53:28.1426196+05:30</EndDate> <ProjectRefCode>sample string 5</ProjectRefCode> <ProjectRefName>sample string 6</ProjectRefName> <SalesOrderId>1</SalesOrderId> <StartDate>2025-12-08T01:53:28.1426196+05:30</StartDate> <StatusId>8</StatusId> <WorkOrderCode>sample string 2</WorkOrderCode> <WorkOrderDate>2025-12-08T01:53:28.1426196+05:30</WorkOrderDate> <WorkOrderTypeId>4</WorkOrderTypeId> <WorkOrdervId>1</WorkOrdervId> </WorkOrderv>
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. |