REST WebService /resource/delete

 

Deletes a resource from a planner.

Query

 

Method

URL

DELETE

RACINEVP/ws/rest/resource/delete

 

Type

Parameters

Values

HEAD

apikey

String

QUERY

uid

String

 

apikey

The user’s API key (must be sent in all the queries). Accesses the WebService for a given user and planner.

uid

UID (identifier) of the resource.

Response

Status

Message

0

1

Invalid session : apikey

2

No eventResource for : UID

3

Delete KO

 

Example:

For the planner “DEMO API REST, installed on a Visual Planning server with the root http ://127.0.0.1:8906/ip50, containing a resource with the internal UID identifier 1BF0-D576-8000-9F67-55EE-1946-D608-0332 that we want to delete. With a user whose access key to the API is: d9f79618-59e4-a710-8203-a39bab9ad09b, we have:

URL:

http://127.0.0.1:8906/ip50/ws/rest/event/delete?uid=1BF0-D576-8000-9F67-55EE-1946-D608-0332

Response:

{

“error”:0,

“message”:””

}

Print Friendly, PDF & Email
1 Etoile2 Etoiles3 Etoiles4 Etoiles5 Etoiles (No vote)
Loading...
Consulting training

Need training?

Use our consulting services!