POST api/Catalogos/nuevaNota?idEmpresa={idEmpresa}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idEmpresa | globally unique identifier |
Required |
Body Parameters
notasName | Description | Type | Additional information |
---|---|---|---|
idEmpresa | globally unique identifier |
None. |
|
idNota | integer |
None. |
|
fecha | date |
None. |
|
tipo | string |
None. |
|
referencia | integer |
None. |
|
nota | string |
None. |
|
idUsuario | integer |
None. |
|
eliminada | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "idEmpresa": "ab3a5079-3394-4489-8536-2160612f48c8", "idNota": 2, "fecha": "2025-01-22T07:16:47.5163658-08:00", "tipo": "sample string 4", "referencia": 5, "nota": "sample string 6", "idUsuario": 7, "eliminada": true }
application/xml, text/xml
Sample:
<notas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.Data"> <eliminada>true</eliminada> <fecha>2025-01-22T07:16:47.5163658-08:00</fecha> <idEmpresa>ab3a5079-3394-4489-8536-2160612f48c8</idEmpresa> <idNota>2</idNota> <idUsuario>7</idUsuario> <nota>sample string 6</nota> <referencia>5</referencia> <tipo>sample string 4</tipo> </notas>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idEmpresa" ab3a5079-3394-4489-8536-2160612f48c8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idNota" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="fecha" 2025-01-22T07:16:47.5163658-08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="tipo" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="referencia" 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="nota" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idUsuario" 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="eliminada" True --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
notasName | Description | Type | Additional information |
---|---|---|---|
idEmpresa | globally unique identifier |
None. |
|
idNota | integer |
None. |
|
fecha | date |
None. |
|
tipo | string |
None. |
|
referencia | integer |
None. |
|
nota | string |
None. |
|
idUsuario | integer |
None. |
|
eliminada | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "idEmpresa": "b99d3593-a2ff-4c92-ae4a-643b4251e57c", "idNota": 2, "fecha": "2025-01-22T07:16:47.5320052-08:00", "tipo": "sample string 4", "referencia": 5, "nota": "sample string 6", "idUsuario": 7, "eliminada": true }
application/xml, text/xml
Sample:
<notas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.Data"> <eliminada>true</eliminada> <fecha>2025-01-22T07:16:47.5320052-08:00</fecha> <idEmpresa>b99d3593-a2ff-4c92-ae4a-643b4251e57c</idEmpresa> <idNota>2</idNota> <idUsuario>7</idUsuario> <nota>sample string 6</nota> <referencia>5</referencia> <tipo>sample string 4</tipo> </notas>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idEmpresa" b99d3593-a2ff-4c92-ae4a-643b4251e57c --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idNota" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="fecha" 2025-01-22T07:16:47.5320052-08:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="tipo" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="referencia" 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="nota" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="idUsuario" 7 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="eliminada" True --MultipartDataMediaFormatterBoundary1q2w3e--