GET adminleads/sendleads?id={id}&type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

type

string

Required

Body Parameters

None.

Response Information

Resource Description

AdminLinkSupplierToCustomerDto
NameDescriptionTypeAdditional information
Id

integer

None.

SupplierName

string

None.

SupplierId

integer

None.

CustomerId

integer

None.

CustomerList

Collection of AdminCustomerDto

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "supplierName": "sample string 2",
  "supplierId": 3,
  "customerId": 4,
  "customerList": [
    {
      "id": 1,
      "customerName": "sample string 2"
    },
    {
      "id": 1,
      "customerName": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AdminLinkSupplierToCustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Administrator">
  <CustomerId>4</CustomerId>
  <CustomerList>
    <AdminCustomerDto>
      <CustomerName>sample string 2</CustomerName>
      <Id>1</Id>
    </AdminCustomerDto>
    <AdminCustomerDto>
      <CustomerName>sample string 2</CustomerName>
      <Id>1</Id>
    </AdminCustomerDto>
  </CustomerList>
  <Id>1</Id>
  <SupplierId>3</SupplierId>
  <SupplierName>sample string 2</SupplierName>
</AdminLinkSupplierToCustomerDto>