2,743
edits
No edit summary |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1:
==Create Debtor==
Add a new Debtor to account book.
{{AOTGApiMethodsSpec|POST|/api/public/v1/Debtor|Params=None}}
==API Request Flow==
[[File:AOTGApiCompleteOrFailFlow.png|link=]]
#Submit Create Debtor request
#Check the successful request status, if the action is
#To get the failed reason, use RESULT method to retrieve the message of completed or failed.
<br/>
==Code Snippets==
*Add header of "SOTC_AUTH", and assign value of '''AccessToken'''.
Line 241 ⟶ 242:
</syntaxhighlight>
}}
====Response Status====
▲ "RequestId": "abf79c80-13e9-41ae-993d-2cd6b99b5570",
<br/>
==Use RESULT method to get the failed reason of Create Debtor request==
===Code Snippets===
|