/
UpdateRequestForAuthorizationStatus RESTified API

UpdateRequestForAuthorizationStatus RESTified API

5.4.0

A pass-through API to Dispatch (when configured) which allows the Dispatch's "Update Request for Authorization" API to be called.

On this page:

Related pages:

Resource URL Summary

Pass Through Call to Dispatch's "Update Request for Authorization" API

PUT /up/v5/serviceAuthorizations/status/${id}

HTTP Headers

This API uses the standard ServiceBroker HTTP Headers.

API Specific Parameters

ParameterTypeRequired?Description

${id}

integer

Yes

The Request for Authorization ID to be updated.


API Specifics

Pass Through Call to Dispatch's "Update Request for Authorization" API

This RESTified API will perform a pass-through call to the Dispatch sub-system's "Update Request for Authorization" API (when configured).

URL

POST /up/v5/serviceAuthorizations/status/${id}

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 Dispatch "Update Request for Authorization" API.  

UpdateRequestForAuthorization Object Format

{
    "ApprovedAmounts": {
        "AuthorizedLabor": 250,
        "AuthorizedLaborTax": 0,
        "AuthorizedMiles": 75,
        "AuthorizedMileage": 41.25,
        "AuthorizedOther": 0,
        "AuthorizedOtherTax": 0,
        "AuthorizedParts": 5.50,
        "AuthorizedPartsTax": 0,
        "AuthorizedShipping": 0,
        "AuthorizedFreight": 0,
        "AuthorizedTax": 0,
        "AuthorizedTravel": 0
    },
    "Notes": {
        "NotesOnly": "Y",
        "InternalNotes": "INTERNAL NOTES",
        "InternalNotesReason": "OTH",
        "ServicerNotes": "SERVICERNOTES",
        "ServicerNotesReason": "OTH"
    },
    "StatusInfo": {
        "NewStatus": "WAI",
        "StatusChangeReason": ""
    },
    "RequiredParts": [
        {
            "Qty": 1,
            "ProdAttrs": {
                "SequenceNumber": 1,
                "SubRequestNumber": "8999290-01"
            }
        }
    ],
    "ApproveOrRejectInfo": {
        "ApprovedOrAdditionalInformationRequestNotes": "TEST INFO X",
        "ChangedBy": "AUSERID",
        "ReasonCode": ""
    }
}

UpdateRequestForAuthorization Object Properties

PropertyTypeRequired?DescriptionDispatch Field Mapping
ApprovedAmountsobjectNo

Pass through parameter to the Dispatch "Update Request for Authorization" API.

ApprovedAmounts

AuthorizedLaborintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedLabor

AuthorizedLaborTaxintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedLaborTax

AuthorizedMilesintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedMiles

AuthorizedMileagefloatNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedMileage

AuthorizedOtherintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedOther

AuthorizedOtherTaxintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedOtherTax

AuthorizedPartsfloatNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedParts

AuthorizedPartsTaxintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedPartsTax

AuthorizedShippingintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedShipping

AuthorizedFreightintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedFreight

AuthorizedTaxintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedTax

AuthorizedTravelintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.AuthorizedTravel
NotesobjectNoPass through parameter to the Dispatch "Update Request for Authorization" API.Notes

NotesOnlystringNoPass through parameter to the Dispatch "Update Request for Authorization" API.NotesOnly

InternalNotesstringNoPass through parameter to the Dispatch "Update Request for Authorization" API.InternalNotes

InternalNotesReasonstringNoPass through parameter to the Dispatch "Update Request for Authorization" API.InternalNotesReason

ServicerNotesstringNoPass through parameter to the Dispatch "Update Request for Authorization" API.ServicerNotes

ServicerNotesReasonstringNoPass through parameter to the Dispatch "Update Request for Authorization" API.ServicerNotesReason
StatusInfoobjectNoPass through parameter to the Dispatch "Update Request for Authorization" API.StatusInfo

NewStatusstringNoPass through parameter to the Dispatch "Update Request for Authorization" API.NewStatus

StatusChangeReasonstringNoPass through parameter to the Dispatch "Update Request for Authorization" API.StatusChangeReason
RequiredPartsarrayNoPass through parameter to the Dispatch "Update Request for Authorization" API.RequiredParts

QtyintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.Qty

ProdAttrsobjectNoPass through parameter to the Dispatch "Update Request for Authorization" API.ProdAttrs


SequenceNumberintegerNoPass through parameter to the Dispatch "Update Request for Authorization" API.SequenceNumber


SubRequestNumberstringNoPass through parameter to the Dispatch "Update Request for Authorization" API.SubRequestNumber
ApproveOrRejectInfoobjectNoPass through parameter to the Dispatch "Update Request for Authorization" API.ApproveOrRejectInfo

ApprovedOrAdditionalInformationRequestNotesstringNoPass through parameter to the Dispatch "Update Request for Authorization" API.ApprovedOrAdditionalInformationRequestNotes

ChangedBystringNoPass through parameter to the Dispatch "Update Request for Authorization" API.ChangedBy

ReasonCodestringNoPass through parameter to the Dispatch "Update Request for Authorization" API.ReasonCode  

HTTP Response

Success

On success, a JSON-formatted version of the Dispatch "Update Request for Authorization" API response will be returned.

{
    "Success": true,
    "Code": 0,
    "Message": "OK"
}

Error

On error, a JSON-formatted version of the Dispatch "Update Request for Authorization" API response will be returned.

{
    "Success": false,
    "Code": 9,
    "Payload": {
        "returnCode": {
            "type": "Error",
            "message": "Dispatch Error Code"
        }
    }
}

Return Codes

In addition to the  Standard Return Codesthere are Dispatch Error codes.

Related content

GetClaimsData RESTified API
GetClaimsData RESTified API
Read with this
CreateOrUpdateRequestForAuthorization RESTified API
CreateOrUpdateRequestForAuthorization RESTified API
More like this
SubmitClaim RESTified API
SubmitClaim RESTified API
Read with this
GetRequestForAuthorization RESTified API
GetRequestForAuthorization RESTified API
More like this
UpdateConsumerInfo RESTified API
UpdateConsumerInfo RESTified API
More like this
UpdatePaymentInfo RESTified API
UpdatePaymentInfo RESTified API
More like this