POST api/cunidades
Request Information
URI Parameters
None.
Body Parameters
cunidadName | Description | Type | Additional information |
---|---|---|---|
folio | integer |
None. |
|
clave | string |
Required String length: inclusive between 0 and 50 |
|
cmarca_folio | integer |
None. |
|
placas | string |
String length: inclusive between 0 and 30 |
|
modelo | string |
String length: inclusive between 0 and 10 |
|
alta | date |
None. |
|
up_date | date |
None. |
|
usuarioin | string |
String length: inclusive between 0 and 40 |
|
usuarioup | string |
String length: inclusive between 0 and 30 |
|
estado | boolean |
None. |
|
aseguradora | string |
String length: inclusive between 0 and 250 |
|
vigencia_seguro | date |
None. |
|
poliza_seguro | string |
String length: inclusive between 0 and 50 |
|
ctipocombustible_folio | integer |
None. |
|
fecha_ultimo_servicio | date |
None. |
|
km_siguiente_servicio | decimal number |
None. |
Request Formats
application/json, text/json
{ "folio": 1, "clave": "sample string 2", "cmarca_folio": 1, "placas": "sample string 3", "modelo": "sample string 4", "alta": "2025-01-08T09:50:44.3936514-05:00", "up_date": "2025-01-08T09:50:44.3936514-05:00", "usuarioin": "sample string 5", "usuarioup": "sample string 6", "estado": true, "aseguradora": "sample string 7", "vigencia_seguro": "2025-01-08T09:50:44.3936514-05:00", "poliza_seguro": "sample string 9", "ctipocombustible_folio": 1, "fecha_ultimo_servicio": "2025-01-08T09:50:44.3936514-05:00", "km_siguiente_servicio": 1.1 }
application/xml, text/xml
<cunidad xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GaribaldiApi.Models"> <alta>2025-01-08T09:50:44.3936514-05:00</alta> <aseguradora>sample string 7</aseguradora> <clave>sample string 2</clave> <cmarca_folio>1</cmarca_folio> <ctipocombustible_folio>1</ctipocombustible_folio> <estado>true</estado> <fecha_ultimo_servicio>2025-01-08T09:50:44.3936514-05:00</fecha_ultimo_servicio> <folio>1</folio> <km_siguiente_servicio>1.1</km_siguiente_servicio> <modelo>sample string 4</modelo> <placas>sample string 3</placas> <poliza_seguro>sample string 9</poliza_seguro> <up_date>2025-01-08T09:50:44.3936514-05:00</up_date> <usuarioin>sample string 5</usuarioin> <usuarioup>sample string 6</usuarioup> <vigencia_seguro>2025-01-08T09:50:44.3936514-05:00</vigencia_seguro> </cunidad>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
cunidadName | Description | Type | Additional information |
---|---|---|---|
folio | integer |
None. |
|
clave | string |
Required String length: inclusive between 0 and 50 |
|
cmarca_folio | integer |
None. |
|
placas | string |
String length: inclusive between 0 and 30 |
|
modelo | string |
String length: inclusive between 0 and 10 |
|
alta | date |
None. |
|
up_date | date |
None. |
|
usuarioin | string |
String length: inclusive between 0 and 40 |
|
usuarioup | string |
String length: inclusive between 0 and 30 |
|
estado | boolean |
None. |
|
aseguradora | string |
String length: inclusive between 0 and 250 |
|
vigencia_seguro | date |
None. |
|
poliza_seguro | string |
String length: inclusive between 0 and 50 |
|
ctipocombustible_folio | integer |
None. |
|
fecha_ultimo_servicio | date |
None. |
|
km_siguiente_servicio | decimal number |
None. |
Response Formats
application/json, text/json
{ "folio": 1, "clave": "sample string 2", "cmarca_folio": 1, "placas": "sample string 3", "modelo": "sample string 4", "alta": "2025-01-08T09:50:44.3936514-05:00", "up_date": "2025-01-08T09:50:44.3936514-05:00", "usuarioin": "sample string 5", "usuarioup": "sample string 6", "estado": true, "aseguradora": "sample string 7", "vigencia_seguro": "2025-01-08T09:50:44.3936514-05:00", "poliza_seguro": "sample string 9", "ctipocombustible_folio": 1, "fecha_ultimo_servicio": "2025-01-08T09:50:44.3936514-05:00", "km_siguiente_servicio": 1.1 }
application/xml, text/xml
<cunidad xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GaribaldiApi.Models"> <alta>2025-01-08T09:50:44.3936514-05:00</alta> <aseguradora>sample string 7</aseguradora> <clave>sample string 2</clave> <cmarca_folio>1</cmarca_folio> <ctipocombustible_folio>1</ctipocombustible_folio> <estado>true</estado> <fecha_ultimo_servicio>2025-01-08T09:50:44.3936514-05:00</fecha_ultimo_servicio> <folio>1</folio> <km_siguiente_servicio>1.1</km_siguiente_servicio> <modelo>sample string 4</modelo> <placas>sample string 3</placas> <poliza_seguro>sample string 9</poliza_seguro> <up_date>2025-01-08T09:50:44.3936514-05:00</up_date> <usuarioin>sample string 5</usuarioin> <usuarioup>sample string 6</usuarioup> <vigencia_seguro>2025-01-08T09:50:44.3936514-05:00</vigencia_seguro> </cunidad>