POST api/GetProductsByClientSimpleList
Request Information
URI Parameters
None.
Body Parameters
RequestEnhanceName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
User | string |
None. |
|
UserId | integer |
None. |
|
ValidationKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "user": "sample string 2", "userId": 3, "validationKey": "sample string 4" }
application/xml, text/xml
Sample:
<RequestEnhance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request"> <User>sample string 2</User> <UserId>3</UserId> <ValidationKey>sample string 4</ValidationKey> <Id>1</Id> </RequestEnhance>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseListSimpleEnhanceName | Description | Type | Additional information |
---|---|---|---|
ItemList | Collection of ResponseSimpleListEnhance |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "itemList": [ { "itemSecondData": "sample string 1", "itemId": 2, "itemName": "sample string 3" }, { "itemSecondData": "sample string 1", "itemId": 2, "itemName": "sample string 3" } ], "resultCode": 1, "resultMessage": "sample string 2", "errorMessage": "sample string 3" }
application/xml, text/xml
Sample:
<ResponseListSimpleEnhance 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> <ItemList> <ResponseSimpleListEnhance> <ItemId>2</ItemId> <ItemName>sample string 3</ItemName> <ItemSecondData>sample string 1</ItemSecondData> </ResponseSimpleListEnhance> <ResponseSimpleListEnhance> <ItemId>2</ItemId> <ItemName>sample string 3</ItemName> <ItemSecondData>sample string 1</ItemSecondData> </ResponseSimpleListEnhance> </ItemList> </ResponseListSimpleEnhance>