POST api/GetProcess
Request Information
URI Parameters
None.
Body Parameters
ProcessRequestName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Code | integer |
None. |
|
Name | string |
None. |
|
User | string |
None. |
|
UserId | integer |
None. |
|
ValidationKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "code": 2, "name": "sample string 3", "user": "sample string 4", "userId": 5, "validationKey": "sample string 6" }
application/xml, text/xml
Sample:
<ProcessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request.Process"> <User xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 4</User> <UserId xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">5</UserId> <ValidationKey xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">sample string 6</ValidationKey> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">0</Id> <Code>2</Code> <Id>1</Id> <Name>sample string 3</Name> </ProcessRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ProcessResponseName | Description | Type | Additional information |
---|---|---|---|
ProcessId | integer |
None. |
|
Code | integer |
None. |
|
Name | string |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "processId": 1, "code": 2, "name": "sample string 3", "resultCode": 4, "resultMessage": "sample string 5", "errorMessage": "sample string 6" }
application/xml, text/xml
Sample:
<ProcessResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Process"> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 6</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">4</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 5</ResultMessage> <Code>2</Code> <Name>sample string 3</Name> <ProcessId>1</ProcessId> </ProcessResponse>