######################### Banks ######################### GET Banks ************************************ Obtiene los bancos. Resource URL ============ .. http:get:: http://api.next-cloud.mx/v1/catalogs/banks.(format) :param format: json o xml. :reqheader Authorization: Token del usuario :>jsonarr string descripcion: Nombre del banco. :>jsonarr string clase: Clase de banco. :>jsonarr string moneda: Moneda. :>jsonarr int id: identificador del banco. :>jsonarr string tipo: tipo. :statuscode 200: Ningún error. :statuscode 401: Token no válido o no enviado. :statuscode 404: No existen bancos. Example Request =============== .. sourcecode:: http GET v1/catalogs/banks..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_banks_01.json :language: json Example XML =========== Example request --------------- .. sourcecode:: http GET v1/catalogs/banks..xml HTTP/1.1 Host: api.next-cloud.mx Accept: 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_banks_01.xml :language: xml