Update Approval Policy

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

path parameter

Body Params
string

Approval flow name

int32
required

Apply Scope Type: 0-entire company, 1-specified users

int32

Need Approval: 0-no, 1-yes

int32

Joint Approval Type: 0-all approvers approve, 1-any approver approves (required when needApproval=1)

approvalResultReceiverList
array of int32s

Approval Result Receiver List: 0-applicant, 1-approver, 2-specified personnel (required when needApproval=1)

approvalResultReceiverList
int32

Allow Pay Before Approval: 0-forbidden, 1-allowed (takes effect when needApproval=1)

applicableScenariosList
array of int32s
required

Applicable Scenarios List: 0-hotel, 1-flight

applicableScenariosList*
applicableUserIds
array of int32s

Applicable User Ids

applicableUserIds
notifyUserIds
array of int32s

Notify User Ids

notifyUserIds
rules
array of objects

Rules

rules
Headers
string
required

Open Platform AppKey

string
required

Open Platform timestamp

string
required

Open Platform nonce

string
required

Open Platform signature

string
required

TMC login token. The customer obtains and stores it from the login API, then sends it to Open Platform on later business API calls.

Response

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json