GET edittransaction?contractID={contractID}&transactionID={transactionID}&time={time}&code={code}

Change time and type of transaction

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contractID

Current selected person

integer

Required

transactionID

ID of selected transaction

integer

Required

time

New time in format HH:mm

string

Required

code

Transaction code if changing pair transition(mode 2 from TransactionItems)

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

ActionResult
NameDescriptionTypeAdditional information
ErrorCode

Error code: 4, 6, 7, 8, 9

integer

None.

ErrorMessage

Error message

string

None.

HttpStatusCode

HttpStatusCode

HttpStatusCode

None.

SuccessMessage

Successful message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 1",
  "HttpStatusCode": 100,
  "SuccessMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ActionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SenseWebAPI.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 1</ErrorMessage>
  <HttpStatusCode>Continue</HttpStatusCode>
  <SuccessMessage>sample string 2</SuccessMessage>
</ActionResult>