POST api/GetProcessMovementList
Request Information
URI Parameters
None.
Body Parameters
RequestName | Description | Type | Additional information |
---|---|---|---|
User | string |
None. |
|
UserId | integer |
None. |
|
ValidationKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "user": "sample string 1", "userId": 2, "validationKey": "sample string 3" }
application/xml, text/xml
Sample:
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request"> <User>sample string 1</User> <UserId>2</UserId> <ValidationKey>sample string 3</ValidationKey> </Request>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ProcessMovementResponseListName | Description | Type | Additional information |
---|---|---|---|
ItemList | Collection of ProcessMovementResponse |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "itemList": [ { "id": 1, "idProcess": 2, "process": "sample string 3", "idProduct": 4, "idUserProfile": 5, "idDevice": 6, "idProductState": 7, "productState": "sample string 8", "creationDate": "sample string 9", "barCode": "sample string 10", "plate": "sample string 11", "quantity": 12, "termino": true }, { "id": 1, "idProcess": 2, "process": "sample string 3", "idProduct": 4, "idUserProfile": 5, "idDevice": 6, "idProductState": 7, "productState": "sample string 8", "creationDate": "sample string 9", "barCode": "sample string 10", "plate": "sample string 11", "quantity": 12, "termino": true } ], "resultCode": 1, "resultMessage": "sample string 2", "errorMessage": "sample string 3" }
application/xml, text/xml
Sample:
<ProcessMovementResponseList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.ProcessMovement"> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 3</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">1</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 2</ResultMessage> <ItemList> <ProcessMovementResponse> <BarCode>sample string 10</BarCode> <CreationDate>sample string 9</CreationDate> <Id>1</Id> <IdDevice>6</IdDevice> <IdProcess>2</IdProcess> <IdProduct>4</IdProduct> <IdProductState>7</IdProductState> <IdUserProfile>5</IdUserProfile> <Plate>sample string 11</Plate> <Process>sample string 3</Process> <ProductState>sample string 8</ProductState> <Quantity>12</Quantity> <Termino>true</Termino> </ProcessMovementResponse> <ProcessMovementResponse> <BarCode>sample string 10</BarCode> <CreationDate>sample string 9</CreationDate> <Id>1</Id> <IdDevice>6</IdDevice> <IdProcess>2</IdProcess> <IdProduct>4</IdProduct> <IdProductState>7</IdProductState> <IdUserProfile>5</IdUserProfile> <Plate>sample string 11</Plate> <Process>sample string 3</Process> <ProductState>sample string 8</ProductState> <Quantity>12</Quantity> <Termino>true</Termino> </ProcessMovementResponse> </ItemList> </ProcessMovementResponseList>