Resource URL Summary
Pass Through Call to ServiceScheduling's "Get Responsibility Units" API
PUT /up/v5/rest/scheduling/GetRespUnits
HTTP Headers
This API uses the standard ServiceBroker HTTP Headers.
API Specifics
Pass Through Call to ServiceScheduling's "Get Responsibility Units" API
This RESTified API will perform a pass-through call to the ServiceScheduling sub-system's "Get Responsibility Units" API (when configured).
URL
PUT /up/v5/rest/scheduling/GetRespUnits
HTTP Request Body
This request requires a JSON object supplied in the HTTP request body, which defines the parameters that will be passed through to the ServiceScheduling "Get Responsibility Units" APi.
GetResponsibilityUnits Object Format
GetResponsibilityUnits Object Properties (bold property names indicate required field)
Property | Type | Length | Description | Req? | ||||||
---|---|---|---|---|---|---|---|---|---|---|
FRU |
| SS: 9 | Pass through parameter to the ServiceScheduling "Get Responsibility Units" API. If this is not supplied, all Final Responsibility Units (FRUs) will be returned; if this is the ID of an FRU, all its constituent IRUs will be returned. SS Field: | Yes | ||||||
OffsetUd |
| SS: 9 | Pass through parameter to the ServiceScheduling "Get Responsibility Units" API. Is the start point for each batch; it should not be set for the first batch. SS Field: | Yes | ||||||
Options | object |
| No |
HTTP Response
Success
On success, a JSON-formatted version of the ServiceScheduling "Get Responsibility Units" API response will be returned.
{ "Success": true, "Code": "0", "Message": "", "Payload": { "result": { "type": "OK", "code": "0" }, "OffsetId": "PrevRespUnit", "OffsetCount": "RespUnitCount", "FRUs": [ {FRU} ] } }
Error
On error, a JSON-formatted version of the ServiceScheduling "Get Responsibility Units" API response will be returned.
{ "Success": false, "Code": 9, "Payload": { "returnCode": { "type": "Error", "code": "SCH Error Code" } } }
Return Codes
In addition to the Standard Return Codes, and the general ServiceScheduling Return Codes, the specfic ones for this API are: