Changes for page ../credit-account

Last modified by David Persson on 2022/08/11 10:52
From version 134.2
edited by David Persson
on 2020/04/16 14:57
To version 134.3
edited by David Persson
on 2020/04/16 16:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -813,6 +813,8 @@
813 813  The problem object contain more detailed info on what the error is. The "type" property can be used to programmatically interpret the error as it contains a code definition of the problem.
814 814  Other properties can be useful for logging and subsequent troubleshooting. Some problems are extended with additional parameters so it may be a good idea to log response body as raw data to include these.
815 815  
816 +Problems of type validation does contain an additional list ("Problems") that describes exactly which parameter that failed the validation
817 +
816 816  === Example ===
817 817  
818 818  {{code language="http" title="**Response**"}}
... ... @@ -842,20 +842,10 @@
842 842  
843 843  (% class="table-bordered table-striped" %)
844 844  |=(% style="width: 537px;" %)Problem type (code)|=(% style="width: 172px;" %)Httpstatus|=(% style="width: 796px;" %)Description
845 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
846 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
847 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
848 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
849 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
850 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
851 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
852 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
853 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
854 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
855 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
856 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
857 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
858 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
859 -|=(% scope="col" style="width: 537px;" %) |=(% style="width: 172px;" %) |=(% style="width: 796px;" %)
860 -
861 -
847 +|(% style="width:537px" %)validation|(% style="width:172px" %)400|(% style="width:796px" %)occurs if any of the inputvalidation fails
848 +|(% style="width:537px" %)customer-does-not-exists|(% style="width:172px" %)404|(% style="width:796px" %)can occur if customernumber is part of the querystring towards account resource
849 +|(% style="width:537px" %)card-not-found|(% style="width:172px" %)404|(% style="width:796px" %)
850 +|(% style="width:537px" %)duplicate-card-token|(% style="width:172px" %)409|(% style="width:796px" %)
851 +|(% style="width:537px" %)card-update-failed|(% style="width:172px" %)422|(% style="width:796px" %)
852 +|(% style="width:537px" %)account-not-found|(% style="width:172px" %)404|(% style="width:796px" %)occurs if specified SourceAuthorizationTransactionId hase already has been used on another authorization
853 +|(% style="width:537px" %)invalid-reg-no|(% style="width:172px" %)400|(% style="width:796px" %)occurs if any of the references that is required to be unique already has been used on another transaction of the same type