Request Structure
URL: /certificate/workorder/update
Type:
POST
| Name | Param Type | Description | Field Type | Constraints |
|---|---|---|---|---|
sessionId
|
Header | Session Id received after login. |
String
|
Required if username and
password are not provided. |
username
|
Header | AppViewX login username. |
String
|
Required if sessionId is not
provided. |
password
|
Header | AppViewX login password. |
String
|
Required if sessionId is not
provided. |
Content-Type
|
Header | Specifies the nature of the data in the payload. |
String
|
Value of the param should be ‘application/json’. |
gwkey
|
Query | Tenant Key. This is needed only in case of multi tenant installations and can be ignored in other type of installations. |
String
|
|
gwsource
|
Query | Source from which the request is triggered (E.g. external). |
String
|
|
Payload
|
Body | Contains all the params to be sent in the request body for the post request. |
Payload
|
Payload
| Name | Mandatory | Description | Field Type | Constraints |
|---|---|---|---|---|
data
|
Yes | Action data. |
Data
|
|
header
|
Yes | Request details. |
Header
|
Data
| Name | Mandatory | Description | Field Type | Constraints |
|---|---|---|---|---|
task_action
|
Yes | Action to be performed. |
Number
|
1 - implement 2 - reject |
Header
| Name | Mandatory | Description | Field Type | Constraints |
|---|---|---|---|---|
request_id
|
Yes | Id of the request. |
String
|
|
workorder_id
|
Yes | Id of the work order. |
String
|
Value should be 0. |
task_id
|
Yes | Id of the task to be performed. |
String
|
Value should be review_1. |