POST api/AddProcess
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
ResponseName | Description | Type | Additional 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>