POST api/GetProduct
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
ProductResponseName | Description | Type | Additional information |
---|---|---|---|
Reference | string |
None. |
|
BarCode | string |
None. |
|
Serializable | boolean |
None. |
|
ProductGroup | string |
None. |
|
ProductSubGroup | string |
None. |
|
MeasureType | string |
None. |
|
Brand | string |
None. |
|
Model | string |
None. |
|
Price | decimal number |
None. |
|
IdClient | integer |
None. |
|
Client | string |
None. |
|
Weight | decimal number |
None. |
|
Size | string |
None. |
|
IdColor | integer |
None. |
|
Volume | decimal number |
None. |
|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Code | integer |
None. |
|
IsEnabled | boolean |
None. |
|
IsInUse | boolean |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "reference": "sample string 1", "barCode": "sample string 2", "serializable": true, "productGroup": "sample string 4", "productSubGroup": "sample string 5", "measureType": "sample string 6", "brand": "sample string 7", "model": "sample string 8", "price": 9.0, "idClient": 10, "client": "sample string 11", "weight": 1.0, "size": "sample string 12", "idColor": 13, "volume": 1.0, "id": 14, "name": "sample string 15", "description": "sample string 16", "code": 17, "isEnabled": true, "isInUse": true, "resultCode": 20, "resultMessage": "sample string 21", "errorMessage": "sample string 22" }
application/xml, text/xml
Sample:
<ProductResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Product"> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 22</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">20</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 21</ResultMessage> <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">17</Code> <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 16</Description> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">14</Id> <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled> <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse> <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 15</Name> <BarCode>sample string 2</BarCode> <Brand>sample string 7</Brand> <Client>sample string 11</Client> <IdClient>10</IdClient> <IdColor>13</IdColor> <MeasureType>sample string 6</MeasureType> <Model>sample string 8</Model> <Price>9</Price> <ProductGroup>sample string 4</ProductGroup> <ProductSubGroup>sample string 5</ProductSubGroup> <Reference>sample string 1</Reference> <Serializable>true</Serializable> <Size>sample string 12</Size> <Volume>1</Volume> <Weight>1</Weight> </ProductResponse>