GET api/MasterVendor/GetSuppliersForClient/{clientCode}/{JobTitle}/{Location}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientCode

string

Required

JobTitle

string

Required

Location

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SupplierDTO
NameDescriptionTypeAdditional information
Id

integer

None.

SupplierCode

string

None.

SupplierName

string

None.

SupplierStatusCode

string

None.

Selected

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "SupplierCode": "sample string 2",
    "SupplierName": "sample string 3",
    "SupplierStatusCode": "sample string 4",
    "Selected": true
  },
  {
    "Id": 1,
    "SupplierCode": "sample string 2",
    "SupplierName": "sample string 3",
    "SupplierStatusCode": "sample string 4",
    "Selected": true
  }
]

text/xml

Sample:
<ArrayOfSupplierDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO">
  <SupplierDTO>
    <Id>1</Id>
    <Selected>true</Selected>
    <SupplierCode>sample string 2</SupplierCode>
    <SupplierName>sample string 3</SupplierName>
    <SupplierStatusCode>sample string 4</SupplierStatusCode>
  </SupplierDTO>
  <SupplierDTO>
    <Id>1</Id>
    <Selected>true</Selected>
    <SupplierCode>sample string 2</SupplierCode>
    <SupplierName>sample string 3</SupplierName>
    <SupplierStatusCode>sample string 4</SupplierStatusCode>
  </SupplierDTO>
</ArrayOfSupplierDTO>

multipart/form-data

Sample:
<ArrayOfSupplierDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><SupplierDTO><Id>1</Id><Selected>true</Selected><SupplierCode>sample string 2</SupplierCode><SupplierName>sample string 3</SupplierName><SupplierStatusCode>sample string 4</SupplierStatusCode></SupplierDTO><SupplierDTO><Id>1</Id><Selected>true</Selected><SupplierCode>sample string 2</SupplierCode><SupplierName>sample string 3</SupplierName><SupplierStatusCode>sample string 4</SupplierStatusCode></SupplierDTO></ArrayOfSupplierDTO>