| GET | /PMTemplate/JobPlan/{JobPlanID} | Get Job Plan Details In PM Template |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserID | path | string | Yes | User Internal ID of User |
| WorkOrderTemplateId | path | string | Yes | WorkOrderTemplate Id of job plan |
| JobPlanID | path | string | Yes | Jobplan Id of job plan |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseJobPlanDetails | body | JobPlanTemplate | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Uuid | body | Guid | No | |
| TaskNumber | body | int | No | |
| TaskSequenceNumber | body | int | No | |
| TaskDescription | body | string | No | |
| TaskStatus | body | string | No | |
| TaskLead | body | string | No | |
| TaskWorkGroup | body | string | No | |
| CreatedBy | body | string | No | |
| CreatedDate | body | DateTime? | No | |
| UpdatedBy | body | string | No | |
| UpdatedDate | body | DateTime? | No | |
| WorkOrderTemplateId | body | string | No | |
| WorkOrderTemplateDetailID | body | string | No | |
| TriggeredOnMeterReading | body | string | No | |
| TriggeredOnSchedule | body | bool | No | |
| TaskTemplateID | body | string | No | |
| TaskName | body | string | No | |
| TaskType | body | int | No | |
| TriggerEveryHr | body | int | No | |
| TriggerEveryMin | body | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/GetJobPlanTemplate HTTP/1.1
Host: equipstage3.e-isg.com
Content-Type: application/json
Content-Length: length
{"UserID":"String","WorkOrderTemplateId":"String","JobPlanID":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseJobPlanDetails":{"TaskNumber":0,"TaskSequenceNumber":0,"TaskDescription":"String","TaskStatus":"String","TaskLead":"String","TaskWorkGroup":"String","CreatedBy":"String","CreatedDate":"\/Date(-62135596800000-0000)\/","UpdatedBy":"String","UpdatedDate":"\/Date(-62135596800000-0000)\/","WorkOrderTemplateId":"String","WorkOrderTemplateDetailID":"String","TriggeredOnMeterReading":"String","TriggeredOnSchedule":false,"TaskTemplateID":"String","TaskName":"String","TaskType":0,"TriggerEveryHr":0,"TriggerEveryMin":0}}