Dernière mise à jour il y a 2 ans
Cet article vous a-t-il été utile ?
/{host}/rest/bank-accounts/
curl -L \ --url 'https://echo.paw.cloud//{host}/rest/bank-accounts/' \ --header 'Content-Type: text/plain'
No body
Argentina Bank
ARS
curl -L \ --request POST \ --url 'https://echo.paw.cloud//{host}/rest/bank-accounts/' \ --header 'Content-Type: application/json' \ --data '{ "name": "Argentina Bank", "currency": "ARS" }'
/{host}/rest/bank-accounts/{id}//
ID du compte
curl -L \ --url 'https://echo.paw.cloud//{host}/rest/bank-accounts/{id}/' \ --header 'Content-Type: text/plain'
curl -L \ --request DELETE \ --url 'https://echo.paw.cloud//{host}/rest/bank-accounts/{id}/' \ --header 'Content-Type: text/plain'
Updated Bank
curl -L \ --request PUT \ --url 'https://echo.paw.cloud//{host}/rest/bank-accounts/{id}/' \ --header 'Content-Type: application/json' \ --data '{ "name": "Updated Bank", "currency": "ARS" }'