Crear Cliente
POST/api/person
Su propósito es crear un nuevo cliente.
Ejemplo:
- Método: POST
- URL: https://empresa1.demo3pro6.ibu.pe/api/person
- TOKEN: HOHYgwd4atPalTxqi2IIspythpLAU7eP239oByfjk9VuveiOpfUTm4Yg0Szt
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
required
- JSON A ENVIAR
idstring
Example:
nulltypestring
Example:
customersidentity_document_type_idstring
Example:
1numberstringrequired
Example:
72346556namestringrequired
Example:
Pedro Diaztrade_namestring
Example:
Nombre Comercialcountry_idstring
Example:
PEdepartment_idstring
Example:
nullprovince_idstring
Example:
nulldistrict_idstring
Example:
nulladdressstring
Example:
Urb Sesquicentenario Vipol Callaotelephonestring
Example:
954533737conditionstring
Example:
nullstatestring
Example:
nullemailstring
Example:
nullperception_agentboolean
Example:
falsepercentage_perceptionfloat
Example:
0more_addressstring[]
Example:
[]location_idstring[]
Example:
[]Body
required
- JSON A ENVIAR
idstring
Example:
nulltypestring
Example:
customersidentity_document_type_idstring
Example:
1numberstringrequired
Example:
72346556namestringrequired
Example:
Pedro Diaztrade_namestring
Example:
Nombre Comercialcountry_idstring
Example:
PEdepartment_idstring
Example:
nullprovince_idstring
Example:
nulldistrict_idstring
Example:
nulladdressstring
Example:
Urb Sesquicentenario Vipol Callaotelephonestring
Example:
954533737conditionstring
Example:
nullstatestring
Example:
nullemailstring
Example:
nullperception_agentboolean
Example:
falsepercentage_perceptionfloat
Example:
0more_addressstring[]
Example:
[]location_idstring[]
Example:
[]Body
required
- JSON A ENVIAR
idstring
Example:
nulltypestring
Example:
customersidentity_document_type_idstring
Example:
1numberstringrequired
Example:
72346556namestringrequired
Example:
Pedro Diaztrade_namestring
Example:
Nombre Comercialcountry_idstring
Example:
PEdepartment_idstring
Example:
nullprovince_idstring
Example:
nulldistrict_idstring
Example:
nulladdressstring
Example:
Urb Sesquicentenario Vipol Callaotelephonestring
Example:
954533737conditionstring
Example:
nullstatestring
Example:
nullemailstring
Example:
nullperception_agentboolean
Example:
falsepercentage_perceptionfloat
Example:
0more_addressstring[]
Example:
[]location_idstring[]
Example:
[]Responses
- 200
- 400
- 422
JSON RESPUESTA
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
successboolean
Example:
truemsgstring
Example:
Cliente registrado con éxitodata
object
idinteger
Example:
55descriptionstring
Example:
72346556 - Pedro Diaznamestring
Example:
Pedro Diaznumberstring
Example:
72346556identity_document_type_idstring
Example:
1identity_document_type_codestring
Example:
nulladdressstring
Example:
Urb Sesquicentenario Vipol Callaoemailstring
Example:
nulltelephonestring
Example:
954533737country_idstring
Example:
PEdistrict_idstring
Example:
nullselectedboolean
Example:
falseResponseSamples component placeholder
- Schema
- Example (from schema)
Schema
successboolean
Example:
truemsgstring
Example:
Cliente registrado con éxitodata
object
idinteger
Example:
55descriptionstring
Example:
72346556 - Pedro Diaznamestring
Example:
Pedro Diaznumberstring
Example:
72346556identity_document_type_idstring
Example:
1identity_document_type_codestring
Example:
nulladdressstring
Example:
Urb Sesquicentenario Vipol Callaoemailstring
Example:
nulltelephonestring
Example:
954533737country_idstring
Example:
PEdistrict_idstring
Example:
nullselectedboolean
Example:
falseResponseSamples component placeholder
Invalid input
Validation exception