REST WebService /event/delete

 

Deletes an event from a planner.

Query

 

Method

URL

DELETE

ROOTVP/ws/rest/event/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 event.

Response

Status

Message

0

1

Invalid session : apikey

2

No event 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 an event with the internal UID identifier 6E10-4B61-27DE-08C3-0D8A-16EA-050A-B18A 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=6E10-4B61-27DE-08C3-0D8A-16EA-050A-B18A

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!