Projet

Général

Profil

Fonctionnalité #15582 » Parapheur WS REST.postman_collection (1).json

Emmanuel DILLARD, 25/06/2021 15:33

 
{
"info": {
"_postman_id": "0894ff1e-55f0-4a6a-a455-ed733627f357",
"name": "Parapheur WS REST",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Démo",
"item": [
{
"name": "Download",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "file",
"file": {}
},
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{docId}}/download",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{docId}}",
"download"
]
}
},
"response": []
},
{
"name": "Upload",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "content",
"type": "file",
"src": []
},
{
"key": "comment",
"value": "test",
"type": "text"
},
{
"key": "emailDestinataire",
"value": "",
"type": "text",
"disabled": true
}
]
},
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{siren}}/bureautique/upload",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{siren}}",
"bureautique",
"upload"
]
},
"description": "Le label doit être fourni en base64"
},
"response": []
},
{
"name": "Upload meta",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "metadata",
"type": "file",
"src": []
}
]
},
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{docId}}/metadata/define",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{docId}}",
"metadata",
"define"
]
},
"description": "Le label doit être fourni en base64"
},
"response": []
},
{
"name": "uploadOTPInformation",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "otpinformation",
"type": "file",
"src": []
}
]
},
"url": {
"raw": "https://localhost/parapheur-ws/rest/v1/documents/v2/otp/{{docId}}/metadata/define",
"protocol": "https",
"host": [
"localhost"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"otp",
"{{docId}}",
"metadata",
"define"
]
},
"description": "Le label doit être fourni en base64"
},
"response": []
},
{
"name": "History",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{docId}}/history",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{docId}}",
"history"
]
}
},
"response": []
},
{
"name": "Delete",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{docId}}",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{docId}}"
]
}
},
"response": []
},
{
"name": "Download Acknowledgement",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{docId}}/ack/download",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{docId}}",
"ack",
"download"
]
}
},
"response": []
},
{
"name": "Download Pes Retour",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{docId}}/pes-retour/download",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{docId}}",
"pes-retour",
"download"
]
}
},
"response": []
},
{
"name": "Download Chorus",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{docId}}/chorus/download",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{docId}}",
"chorus",
"download"
]
}
},
"response": []
},
{
"name": "List Remaining Acknowledgements",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{siren}}/ack/remaining",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{siren}}",
"ack",
"remaining"
]
}
},
"response": []
},
{
"name": "List Remaining Chorus",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{siren}}/chorus/remaining",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{siren}}",
"chorus",
"remaining"
]
}
},
"response": []
},
{
"name": "List Remaining PES Retour",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{siren}}/pes-retour/remaining",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{siren}}",
"pes-retour",
"remaining"
]
}
},
"response": []
},
{
"name": "Get Refusal Message",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/{{docId}}/comments/refusal",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"{{docId}}",
"comments",
"refusal"
]
}
},
"response": []
},
{
"name": "Get Sms Url",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/otp/url?id={{docId}}&id={{docId}}",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"otp",
"url"
],
"query": [
{
"key": "redirectUrl",
"value": null,
"disabled": true
},
{
"key": "id",
"value": "{{docId}}"
},
{
"key": "id",
"value": "{{docId}}"
}
]
}
},
"response": []
},
{
"name": "Upload OTP",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "document",
"type": "file",
"src": []
},
{
"key": "metaOrOtp",
"type": "file",
"src": []
},
{
"key": "comment",
"value": "Un super commentaire",
"type": "text"
},
{
"key": "referer",
"value": "https://www.google.fr",
"type": "text"
}
]
},
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/documents/v2/otp/{{siren}}/{{circuitId}}/test/upload",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"documents",
"v2",
"otp",
"{{siren}}",
"{{circuitId}}",
"test",
"upload"
]
},
"description": "Le label doit être fourni en base64"
},
"response": []
},
{
"name": "exportUsersData",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/exportUsersData?siren={{siren}}",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"exportUsersData"
],
"query": [
{
"key": "siren",
"value": "{{siren}}"
}
]
}
},
"response": []
},
{
"name": "Synchro",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "[\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"authenticationType\": \"CERTIFICAT\",\r\n\t\t\t\t\t\t\"email\": \"alice1@certif.fr\",\r\n\t\t\t\t\t\t\"firstName\": \"Alice\",\r\n\t\t\t\t\t\t\"lastName\": \"certif\",\r\n \"groups\": [\"groupe certif\"]\r\n\t\t\t\t\t},\r\n {\r\n\t\t\t\t\t\t\"authenticationType\": \"CERTIFICAT\",\r\n\t\t\t\t\t\t\"email\": \"bob@certif.fr\",\r\n\t\t\t\t\t\t\"firstName\": \"Bob\",\r\n\t\t\t\t\t\t\"lastName\": \"certif\",\r\n \"groups\": [\"groupe certif\"]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"authenticationType\": \"BASIC\",\r\n\t\t\t\t\t\t\"email\": \"carole@basic.fr\",\r\n\t\t\t\t\t\t\"firstName\": \"Carole\",\r\n\t\t\t\t\t\t\"lastName\": \"basic\",\r\n \"groups\": [\"groupe BASIC\"]\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"authenticationType\": \"BASIC\",\r\n\t\t\t\t\t\t\"email\": \"dave@basic.fr\",\r\n\t\t\t\t\t\t\"firstName\": \"Dave\",\r\n\t\t\t\t\t\t\"lastName\": \"basic\",\r\n \"groups\": [\"groupe BASIC\"]\r\n\t\t\t\t\t}\r\n\t\t\t\t]",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://demo-parapheur.dfast.fr/parapheur-ws/rest/v1/synchronization/{{siren}}/users",
"protocol": "https",
"host": [
"demo-parapheur",
"dfast",
"fr"
],
"path": [
"parapheur-ws",
"rest",
"v1",
"synchronization",
"{{siren}}",
"users"
]
},
"description": "Ne fonctionne pas encore, mais sera mis en place pour éviter la duplication /sync/synchronization ..."
},
"response": []
}
]
}
]
}
(1-1/2)