/
API - IT - Post Edit Request Status Check

API - IT - Post Edit Request Status Check

The API method to submit a post edit request (API - IT - Post Edit Request) may run asynchronously.

In that case it returns an operation ID. The present method then lets you poll the status of the operation.

URL

(GET) /api/it/requests/postedit?token=&trmid=

 

PARAMETERS

Parameters are:

token

The session token obtained when connecting.

trmid

Provide the ID you obtained from API method API - IT - Post Edit Request

 

Note: When polling the system please always sleep for 1 or more seconds in between calls.

RESULTS

The method returns a JSON object:

status

The status of the operation. Any of:

  • Waiting: The operation is queued for processing
  • Executing: The operation is being processed but not complete
  • Finished: The operation is complete
  • Failed: The operation failed

 

string

 

An HTTP status of 200 indicates success. Other HTTP status values indicate an error.

The post edit status in the individual request records (see API - IT - List Requests) indicates when the request for post editing is acknowledged, in progress and ultimately completed.

 

 

 

Related content

API - IT - Post Edit Request
API - IT - Post Edit Request
More like this
apps/mthive/postedit (post)
apps/mthive/postedit (post)
More like this
Asynchronous operations
Asynchronous operations
More like this
Test status of an asynchronous operation by id
Test status of an asynchronous operation by id
More like this
trm/status
trm/status
More like this
orders/{orderId}/status (PUT)
orders/{orderId}/status (PUT)
More like this

Copyright Wordbee - Buzzin' Outside the Box since 2008