PUT adminleads/sendleads

Request Information

URI Parameters

None.

Body Parameters

AdminLinkSupplierToCustomerDto
NameDescriptionTypeAdditional information
Id

integer

None.

SupplierName

string

None.

SupplierId

integer

None.

CustomerId

integer

None.

CustomerList

Collection of AdminCustomerDto

None.

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.