Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourGreen
title5.4.0

pass-through API  to ServiceScheduling Scheduling (when configured) which allows the ServiceSchedulingScheduling's "DeleteUserRequest" API to be called.

Description

Used to delete a user in ServiceSchedulingScheduling.

Uses sp:DeleteUserRequest


Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

On this page:

Table of Contents
maxLevel2

Related pages:


Resource URL Summary


Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

Pass Through Call to ServiceSchedulingScheduling's "DeleteUserRequest" API

PUT /up/v5/rest/scheduling/DeleteUser

Include Page
_Default HTTP Headers
_Default HTTP Headers


API Specifics



Panel
borderColor#D3D3D3

Pass Through Call to

ServiceScheduling

Scheduling's "DeleteUserRequest" API

This RESTified API will perform a pass-through call to the ServiceScheduling Scheduling sub-system's "DeleteUserRequest" API (when configured).

URL

Panel
borderColorgrey
bgColorwhitesmoke
borderStylesolid

PUT /up/v5/rest/scheduling/DeleteUser

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 Scheduling "DeleteUserRequest" API.

Deleteuser Object Format

Code Block
languagejs
titleActDelete JSON
collapsetrue
{
	"userId": ""
}


DeleteAct Object Properties (Bold property names indicate required field)

PropertyTypeLengthDescriptionReq?
userID

string

SS: 50

Unique identifier for user to be deleted

SS Field Mapping: userID

Yes


HTTP Response

Success

On success, a JSON-formatted version of the ServiceScheduling Scheduling "DeleteUserRequest" API response will be returned.

Code Block
languagejs
{
    "Success": true,
    "Code": 0,
    "Message": "OK",
    "Payload": {
        "result": {
            "type": "OK",
            "code": "0"
        }
    }
}

Error

On error, a JSON-formatted version of the ServiceScheduling Scheduling "DeleteUserRequest" API response will be returned.

Code Block
languagejs
{
    "Success": false,
    "Code": 9,
    "Payload": {
        "returnCode": {
            "type": "Error",
            "code": "SCH Error Code"
        }
    }
}

Return Codes

In addition to the  Standard Return Codes, and the ServiceScheduling API return Scheduling Error codes,  the possible Return Codes from this API are:

Expand
  • SP_USERID_DOES_NOT_EXIST (703)