User Tools

Site Tools


rest_api_customers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rest_api_customers [2016/12/08 08:51] sweitmannrest_api_customers [2016/12/08 08:54] (current) sweitmann
Line 2: Line 2:
  
 ^**__GET__** || ^**__GET__** ||
-|View all **CUSTOMERS** in XML format|[[:api:api_view_all_customers_xml| https://localhost:3000/{databasename}/customers.xml?token=123]]| +|View all customers in XML format|[[:api:api_view_all_customers_xml| https://localhost:3000/{databasename}/customers.xml?token=123]]| 
-|View all **CUSTOMERS** in JSON format|[[:api:api_view_all_customers_json| https://localhost:3000/{databasename}/customers.json?token=123]]| +|View all customers in JSON format|[[:api:api_view_all_customers_json| https://localhost:3000/{databasename}/customers.json?token=123]]| 
-|View single **CUSTOMER** in XML format|[[:api:api_view_single_customer_xml| https://localhost:3000/{databasename}/{customer_id}.xml?token=123]]| +|View single customer in XML format|[[:api:api_view_single_customer_xml| https://localhost:3000/{databasename}/{customer_id}.xml?token=123]]| 
-|View single **CUSTOMER** in JSON format|[[:api:api_view_single_customer_json| https://localhost:3000/{databasename}/{customer_id}.json?token=123]]|+|View single customer in JSON format|[[:api:api_view_single_customer_json| https://localhost:3000/{databasename}/{customer_id}.json?token=123]]|
 ^**__UPDATE__** || ^**__UPDATE__** ||
-|Add or update **CUSTOMER** with XML from command line|[[:api:api_update_customer_xml|+|Add or update customer with XML from command line|[[:api:api_update_customer_xml|
 curl -X POST -H "Content-Type: application/xml" -d @customer.xml https://localhost:3000/{databasename}/customers?token=123]]| curl -X POST -H "Content-Type: application/xml" -d @customer.xml https://localhost:3000/{databasename}/customers?token=123]]|
-|Add or update **CUSTOMER** with JSON from command line|[[:api:api_update_customer_json|+|Add or update customer with JSON from command line|[[:api:api_update_customer_json|
 curl -X POST -H "Content-Type: application/xml" -d @customer.json https://localhost:3000/{databasename}/customers?token=123]]| curl -X POST -H "Content-Type: application/xml" -d @customer.json https://localhost:3000/{databasename}/customers?token=123]]|
 ^**__DELETE__** || ^**__DELETE__** ||
-|Delete **CUSTOMER** from command line|[[:api:api_delete_customer]|+|Delete customer from command line|[[:api:api_delete_customer]|
 curl -X DELETE -H "Content-Type: application/xml" -d @customer.xml https://localhost:3000/{databasename}/{customers_id}?token=123]]| curl -X DELETE -H "Content-Type: application/xml" -d @customer.xml https://localhost:3000/{databasename}/{customers_id}?token=123]]|
  
rest_api_customers.txt · Last modified: 2016/12/08 08:54 by sweitmann