GET api/Configuration/Suppliers/{code}/Contacts

List all contacts of a supplier

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

The Supplier code

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Contact
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

Max length: 50

Function

string

Max length: 50

Phone

string

Max length: 17

Mobile

string

Max length: 17

Email

string

Max length: 100

Response Formats

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Function": "sample string 3",
    "Phone": "sample string 4",
    "Mobile": "sample string 5",
    "Email": "sample string 6"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Function": "sample string 3",
    "Phone": "sample string 4",
    "Mobile": "sample string 5",
    "Email": "sample string 6"
  }
]
Sample:
<ArrayOfContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models.Parametrizacao">
  <Contact>
    <Email>sample string 6</Email>
    <Function>sample string 3</Function>
    <Mobile>sample string 5</Mobile>
    <Name>sample string 2</Name>
    <Phone>sample string 4</Phone>
    <Id>1</Id>
  </Contact>
  <Contact>
    <Email>sample string 6</Email>
    <Function>sample string 3</Function>
    <Mobile>sample string 5</Mobile>
    <Name>sample string 2</Name>
    <Phone>sample string 4</Phone>
    <Id>1</Id>
  </Contact>
</ArrayOfContact>
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Id"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Function"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Phone"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Mobile"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].Email"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Id"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Function"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Phone"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Mobile"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].Email"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e--