File Exchange Sign Off
create
Method |
URL |
|---|---|
|
api/esh/file_exchange_sign_off/create |
Creates a FileExchangeSignOff for a FileExchange.
Pre-requisite steps
The initiator sends a request to create a Global Task
file_exchange_sign_offIf the validation of the input parameters or or the adapter validations results in an error the ‘Global Task’ is not created and the errors are returned.
A Global Task is created and the GlobalTask.ID is returned.
Global Task steps
The ValueA adapter sends out the request to EDSN via an XML request: FileExchangeSignOffNotification.
EDSN validates the request (see EDSN validations). If there are inaccuracies, the message is rejected otherwise a confirmation is send via an XML response: FileExchangeSignOffAcknowledgement.
When a rejection is received the status of the GlobalTask is set to rejected.
When a confirmation is received the status of the GlobalTask is set to ready.
Input parameters
file_exchange_sign_off global_task input parameters |
||
type |
object |
|
properties |
||
|
FileExchange.id |
|
type |
string |
|
format |
uuid |
|
|
type |
array |
items |
||
sign off reason
type |
object |
|
properties |
||
|
type |
string |
|
type |
string / null |
additionalProperties |
False |
|
Adapter validations
validation |
error message |
error code |
|---|---|---|
Data set is known and not signed off already? |
File unknown or already signed off |
247 |
EDSN validations
validation |
error message |
error code |
|---|---|---|
The request to consult, a connection is complete and syntactically correct |
Message incomplete or syntactically incorrect |
200 |
Data set is known and not signed off already? |
File unknown or already signed off |
247 |
Is the recipient of the sign off/rejection the same as the sender of the dataset? |
Recipient of sign off/rejection is not the same as sender of the file |
248 |
Is the sender of the sign off/rejection the same as the recipient of the dataset? |
Sender of sign off/rejection is not the same as recipient of the file |
249 |
Output parameters
file_exchange_sign_off global_task return parameters |
|||
properties |
|||
|
GlobalTask.id |
||
type |
string |
||
format |
uuid |
||
|
type |
object |
|
properties |
|||
|
ValueA Broker message.id |
||
type |
string |
||
format |
uuid |
||
|
type |
array |
|
items |
|||
global_task_validation
type |
object |
|
properties |
||
|
type |
string |
|
optional reference to parameter |
|
type |
string / null |
|
|
type |
string / null |
getStatus
Method |
URL |
|---|---|
|
api/esh/file_exchange_sign_off/get_status |
Get status input parameters
global_task get_status input parameters |
||
type |
object |
|
properties |
||
|
GlobalTask.id |
|
type |
string |
|
format |
uuid |
|
Get status return parameters
global_task get_status return parameters |
|||
type |
object |
||
properties |
|||
|
type |
string |
|
|
type |
string |
|
format |
date |
||
|
type |
string / null |
|
|
type |
array |
|
items |
|||
|
type |
object |
|
properties |
|||
|
ValueA Broker message.id |
||
type |
string |
||
format |
uuid |
||
|
type |
array |
|
items |
|||
status_detail
type |
object |
|
properties |
||
|
type |
string |
|
type |
string / null |
get_status_validation
type |
object |
|
properties |
||
|
type |
string |
|
optional reference to parameter |
|
type |
string / null |
|
|
type |
string / null |
getData
Method |
URL |
|---|---|
|
api/esh/file_exchange_sign_off/get_data |
Get data input parameters
file_exchange_sign_off get_data input parameters |
||
type |
object |
|
properties |
||
|
GlobalTask.id |
|
type |
string |
|
format |
uuid |
|
Get data return parameters
file_exchange_sign_off get_data return parameters |
|||
type |
object |
||
properties |
|||
|
type |
object |
|
|
type |
object |
|
properties |
|||
|
type |
array |
|
items |
|||
|
type |
object |
|
properties |
|||
|
ValueA Broker message.id |
||
type |
string |
||
format |
uuid |
||
|
type |
array |
|
items |
|||
reason
type |
object |
|
properties |
||
|
type |
string |
|
type |
string |
get_data_validation
type |
object |
|
properties |
||
|
type |
string |
|
optional reference to parameter |
|
type |
string / null |
|
|
type |
string / null |