AOTG API: Delete Debtor: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 6: | Line 6: | ||
*See [[AOTG API: Get List of Debtor#Response_From_Result|Get List of Debtor]] on how to obtain '''Id''' (that is created in AOTG). |
*See [[AOTG API: Get List of Debtor#Response_From_Result|Get List of Debtor]] on how to obtain '''Id''' (that is created in AOTG). |
||
{{AOTGApiMethodsSpec|DELETE|/api/public/v1/Debtor/{debtorId} }} |
{{AOTGApiMethodsSpec|DELETE|/api/public/v1/Debtor/{debtorId} }} |
||
==API Request Flow== |
|||
[[File:AOTGApiCompleteOrFailFlow.png|link=]] |
|||
#Submit Delete request of a debtor with an Id of a debtor |
|||
#Check the successful request status, if the action is completed or failed. |
|||
#To get the failed reason, use RESULT method to retrieve the reason. |
|||
==Code Snippets== |
==Code Snippets== |
||
*Add header of '''"SOTC_AUTH"''', and assign value of '''AccessToken'''. |
|||
{{AOTGApiCodeSnippetTab |
{{AOTGApiCodeSnippetTab |
||
|PHPHttp= |
|PHPHttp= |