...
Endpoint:
/v2/docusign/ipro/source_settings/<source_id>/accounts/<account_id>/auth_token
Methods: POST
Body for POST method:
Code Block { "go_live_date": datetime(UTC formate), "connection_name": "Docusign", "config": { "user_id": "af90af54-368d-47c7-aacd-d209a9303ee3", "docusign_account_id": "3d58d115-8a00-43e1-a93a-1636b51f053a", "look_back": 0, "point_of_contact": [] } }
Response code: 200
Code Block { "account_id": 210256, "accountmapping": [], "config": { "docusign_accountuser_id": "3d58d115af90af54-8a00368d-43e147c7-a93aaacd-1636b51f053ad209a9303ee3", "look_back": 0, "point_of_contact": [ "venkatadri@socialsurveyvenkat@123.com" ], "user"docusign_account_id": "af90af543d58d115-368d8a00-47c743e1-aacda93a-d209a9303ee31636b51f053a" }, "connection_name": "Docusign", "connection_stage": "defaultdisconnected", "connection_status": {}"", "go_live_date": "MonWed, 2109 Jun 2021 0001:0059:0042 GMT", "id": 965977, "ipro_ingestion_source_id": 5, "organization_id": 2, "sample_transaction": null"", "sftp_user": null"", "status": 0 }
Possible Errors:
If the account_id not provided.
status_code: 400
Response:
Code Block {"message": "Could't prosees your request without account_id"}
If the source_id not provided.
status_code: 400
Response:
Code Block {"message": "Could't prosees your request without source_id"}
For the post request if the request body is invalid or empty.
status_code: 400
Response:
Code Block {"message": "Cannot process request without request body}
If the
credentials
is not provided .status_code: 422
Response:
Code Block {"message": Cannot process request without credentials}
If the credentials already mapped to the same account.
status_code: 409
Response:
{"message": "Credentials already exist for this account"}
if Given credentials are invalid.
status_code: 401
Response: error_response
...