########## Statements ########## Obtain the statement of a customer ********************************** Obtener el estado de cuenta de un cliente. Resource URL ============ .. http:get:: http://api.next-cloud.mx/v1/client/(int:client_id)/statements.(format) :param client_id: ID del cliente. :param format: json o xml. :reqheader Authorization: Token del usuario :statuscode 200: Ningún error. :statuscode 404: Cliente no localizado. :statuscode 401: Token no válido o no enviado. Example request =============== .. sourcecode:: http GET v1/client/1/statements.json HTTP/1.1 Host: api.next-cloud.mx Accept: application/json Authorization: Token ( token del usuario ) Example Response ================ .. sourcecode:: http HTTP/1.1 200 OK Vary: Accept Content-Type: application/json Allow: GET, OPTIONS .. literalinclude:: example_Statements_01.json :language: json Example XML =========== Example request --------------- .. sourcecode:: http GET v1/client/1/statements.xml HTTP/1.1 Host: api.next-cloud.mx Accept: application/xml Content-Type: application/xml Authorization: Token ( token del usuario ) Example Response ---------------- .. sourcecode:: http HTTP/1.1 200 OK Vary: Accept Content-Type: application/xml; charset=utf-8 Allow: GET, OPTIONS .. literalinclude:: example_Statements_01.xml :language: xml