REST WebService /link/delete

 

Deletes a link between two events.

Query

 

Method

URL

DELETE

RACINEVP/ws/rest/link/delete

 

Type

Parameters

Values

HEAD

apikey

String

QUERY

beginUID

String

QUERY

endUID

String

 

apikey

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

beginUID

UID identifier of the start event.

endUID

UID identifier of the end event.

Response

Status

Message

0

1

Invalid session: apikey

2

The begin event must be different from the end event

3

Invalid begin or end event UID

4

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 two events with the internal UID identifiers ADEE-00A1-63ED-573F-ADA4-3175-87EE-D5F9 and D4C5-34EE-3028-3655-7BB0-4F6D-BE2D-E973, and for which we want to delete the link. 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/link/delete?beginUID=ADEE-00A1-63ED-573F-ADA4-3175-87EE-D5F9&endUID= D4C5-34EE-3028-3655-7BB0-4F6D-BE2D-E973

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!