POST api/Landing/ListVendedoresXSucursal
Request Information
URI Parameters
None.
Body Parameters
VendedorXSucuParamName | Description | Type | Additional information |
---|---|---|---|
SucursalId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SucursalId": 1 }
application/xml, text/xml
Sample:
<VendedorXSucuParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <SucursalId>1</SucursalId> </VendedorXSucuParam>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VendedorResultName | Description | Type | Additional information |
---|---|---|---|
Vendedor | Collection of VendedorItem |
None. |
|
Errors | APIErrors |
None. |
Response Formats
application/json, text/json
Sample:
{ "Vendedor": [ { "VendedorID": 1, "Vendedor": "sample string 2" }, { "VendedorID": 1, "Vendedor": "sample string 2" } ], "Errors": { "HasErrors": true, "ErrorList": [ { "Message": "sample string 1", "Source": "sample string 2" }, { "Message": "sample string 1", "Source": "sample string 2" } ] } }
application/xml, text/xml
Sample:
<VendedorResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <Errors xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain"> <ErrorList> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> </ErrorList> <HasErrors>true</HasErrors> </Errors> <Vendedor> <VendedorItem> <Vendedor>sample string 2</Vendedor> <VendedorID>1</VendedorID> </VendedorItem> <VendedorItem> <Vendedor>sample string 2</Vendedor> <VendedorID>1</VendedorID> </VendedorItem> </Vendedor> </VendedorResult>