Launch Multiple Layers PaF - ABO

Back Office Integration Guide

Product
ABO
AFS_Version
7.9
Category
Reference Guide
language
English

The API request takes the following form:

curl -H Expect: --form file="@/home/user_name/my_file_to_process.xml;type=text/xml" "http://$HOST/bo-ws/service/$SERVICE_ID/instance/$SERVICE_STATUS/paf/$PAF_NAME/process?afs:login=login://$USER:$PASSWORD@$AUTHENTICATION_AUTHORITY&afs:layer=$MY_LAYERS"

Method

POST

The list of parameters and their possible values are enumerated below.

  • $HOST is the server hosting the Back Office.
  • $SERVICE_ID is the number of the desired service.
  • $SERVICE_STATUS is the status of the desired service.
  • $PAF_NAME is the name of the PaF.
  • $MY_LAYERS is the layers sent back at the end of the PaF process (example: USER_2,CONTENTS,USER_3).

Result Example

-----Aa1Bb2Cc3---Disposition: form-data; name="urn:afs:2729d58f-b08f-46af-a88a-8587bb8b8daa#CONTENTS"; filename=""Type: application/xml
processed data of CONTENTS layer
----Aa1Bb2Cc3-----

(multi-part, one part for each layer of each document; part name is: docId#layer_name):