POST api/v1/clientes/registrar
Request Information
URI Parameters
None.
Body Parameters
RegistroRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TipoDocumento | string |
None. |
|
| Serie | string |
None. |
|
| Numero | string |
None. |
|
| Fecha | string |
None. |
|
| Moneda | string |
None. |
|
| Empresa | string |
None. |
|
| Ruc | string |
None. |
|
| Subtotal | decimal number |
None. |
|
| OpInafecta | decimal number |
None. |
|
| OpGravada | decimal number |
None. |
|
| Igv | decimal number |
None. |
|
| MontoTotal | decimal number |
None. |
|
| ImagenId | globally unique identifier |
None. |
|
| Telefono | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TipoDocumento": "sample string 1",
"Serie": "sample string 2",
"Numero": "sample string 3",
"Fecha": "sample string 4",
"Moneda": "sample string 5",
"Empresa": "sample string 6",
"Ruc": "sample string 7",
"Subtotal": 8.0,
"OpInafecta": 9.0,
"OpGravada": 10.0,
"Igv": 11.0,
"MontoTotal": 12.0,
"ImagenId": "80adf711-3b37-4041-a907-401911628410",
"Telefono": "sample string 14"
}
application/xml, text/xml
Sample:
<ClientesController.RegistroRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SERVICE.Sunat"> <Empresa>sample string 6</Empresa> <Fecha>sample string 4</Fecha> <Igv>11</Igv> <ImagenId>80adf711-3b37-4041-a907-401911628410</ImagenId> <Moneda>sample string 5</Moneda> <MontoTotal>12</MontoTotal> <Numero>sample string 3</Numero> <OpGravada>10</OpGravada> <OpInafecta>9</OpInafecta> <Ruc>sample string 7</Ruc> <Serie>sample string 2</Serie> <Subtotal>8</Subtotal> <Telefono>sample string 14</Telefono> <TipoDocumento>sample string 1</TipoDocumento> </ClientesController.RegistroRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.