SOAP WebService : importResource

 

Creates a new resource by a resource import context.

Query

 

Parameter

Type

apikey

String

attributes

EntityInfo []

importUID

String

 

apikey

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

attributes

List of the attributes used to create the event.

importUID

Internal identifier of the resource import context to be initialized.

Response

 

Attribute

Type

importResourceResponse

WSResult

 

importResourceResponse

The response is made up of a WSResult structure containing an “error” field (error code) and a “message” field (associated message).

In the event of a success, the error code is 0.

In the event of a failure, the error code is >0 and the message indicates the nature of the error encountered.

error

message

0

1

Invalid session : apikey

2

No import context : importUID

Invalid import context : importUID

Error create temporary file

3

Import KO

 

 

Data types

 

The EntityInfo structure is made up of the following two fields:

Field

Type

Description

entityName

String

Attribute name

entityValue

String

Attribute value

The WSResult structure is made up of the following two fields:

Field

Type

Description

error

int

Error code

message

String

Error message

Print Friendly, PDF & Email
1 Etoile2 Etoiles3 Etoiles4 Etoiles5 Etoiles (1 votes, average : 5.00 on 5)
Loading...
Consulting training

Need training?

Use our consulting services!