POST api/AddParameterMovement

Request Information

URI Parameters

None.

Body Parameters

ParameterMovementRequest
NameDescriptionTypeAdditional information
Reference

string

None.

SheetCode

string

None.

Code

integer

None.

Parameter

string

None.

Unit

string

None.

Value

decimal number

None.

StartDate

date

None.

EndDate

date

None.

numreg

integer

None.

Id

integer

None.

User

string

None.

UserId

integer

None.

ValidationKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "reference": "sample string 1",
  "sheetCode": "sample string 2",
  "code": 3,
  "parameter": "sample string 4",
  "unit": "sample string 5",
  "value": 1.0,
  "startDate": "2024-11-30T23:34:23.7948593-05:00",
  "endDate": "2024-11-30T23:34:23.7948593-05:00",
  "numreg": 8,
  "id": 9,
  "user": "sample string 10",
  "userId": 11,
  "validationKey": "sample string 12"
}

application/xml, text/xml

Sample:
<ParameterMovementRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request.ParameterMovement">
  <User xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 10</User>
  <UserId xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">11</UserId>
  <ValidationKey xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 12</ValidationKey>
  <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">9</Id>
  <Code>3</Code>
  <EndDate>2024-11-30T23:34:23.7948593-05:00</EndDate>
  <Parameter>sample string 4</Parameter>
  <Reference>sample string 1</Reference>
  <SheetCode>sample string 2</SheetCode>
  <StartDate>2024-11-30T23:34:23.7948593-05:00</StartDate>
  <Unit>sample string 5</Unit>
  <Value>1</Value>
  <numreg>8</numreg>
</ParameterMovementRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ParameterMovementRequest'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">
  <ErrorMessage>sample string 3</ErrorMessage>
  <ResultCode>1</ResultCode>
  <ResultMessage>sample string 2</ResultMessage>
</Response>