POST api/CC/nuevoMovimiento

Request Information

URI Parameters

None.

Body Parameters

centrosCostoMovimientos
NameDescriptionTypeAdditional information
idEmpresa

globally unique identifier

None.

idMovimiento

integer

None.

idCC

integer

None.

tipo

string

None.

fecha

date

None.

importe

decimal number

None.

idConcepto

integer

None.

descripcion

string

None.

idUsuario

integer

None.

eliminado

boolean

None.

fechaEliminado

date

None.

idUsuarioElimino

integer

None.

pendiente

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "idEmpresa": "ec5e52ff-cc4b-47c6-8b13-f477dfc10edf",
  "idMovimiento": 2,
  "idCC": 3,
  "tipo": "sample string 4",
  "fecha": "2025-01-22T01:40:35.7097411-08:00",
  "importe": 6.1,
  "idConcepto": 7,
  "descripcion": "sample string 8",
  "idUsuario": 9,
  "eliminado": true,
  "fechaEliminado": "2025-01-22T01:40:35.7097411-08:00",
  "idUsuarioElimino": 12,
  "pendiente": true
}

application/xml, text/xml

Sample:
<centrosCostoMovimientos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GF.WS">
  <descripcion>sample string 8</descripcion>
  <eliminado>true</eliminado>
  <fecha>2025-01-22T01:40:35.7097411-08:00</fecha>
  <fechaEliminado>2025-01-22T01:40:35.7097411-08:00</fechaEliminado>
  <idCC>3</idCC>
  <idConcepto>7</idConcepto>
  <idEmpresa>ec5e52ff-cc4b-47c6-8b13-f477dfc10edf</idEmpresa>
  <idMovimiento>2</idMovimiento>
  <idUsuario>9</idUsuario>
  <idUsuarioElimino>12</idUsuarioElimino>
  <importe>6.1</importe>
  <pendiente>true</pendiente>
  <tipo>sample string 4</tipo>
</centrosCostoMovimientos>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idEmpresa"

ec5e52ff-cc4b-47c6-8b13-f477dfc10edf
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idMovimiento"

2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idCC"

3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="tipo"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fecha"

2025-01-22T01:40:35.7097411-08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="importe"

6.1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idConcepto"

7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="descripcion"

sample string 8
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idUsuario"

9
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="eliminado"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="fechaEliminado"

2025-01-22T01:40:35.7097411-08:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="idUsuarioElimino"

12
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="pendiente"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

System.Object
--MultipartDataMediaFormatterBoundary1q2w3e--