POST api/Bins

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
binApp
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "comment": "sample string 3",
  "email": "sample string 4",
  "date": "2020-02-22T20:03:00.8281909+00:00",
  "respondedTo": true,
  "address": "sample string 5",
  "uprn": "sample string 6"
}

application/xml, text/xml

Sample:
<BinApp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HDCAPIModel.Models">
  <Address>sample string 5</Address>
  <Comment>sample string 3</Comment>
  <Date>2020-02-22T20:03:00.8281909+00:00</Date>
  <Email>sample string 4</Email>
  <Name>sample string 2</Name>
  <RespondedTo>true</RespondedTo>
  <UPRN>sample string 6</UPRN>
  <id>1</id>
</BinApp>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

text/html

Sample:
HDCAPIModel.Models.BinApp HDCAPIModel.Models.BinApp 


<div>
    <h4>Waste Type</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            id
        </dt>
        <dd>
            1
        </dd>
        <dt>
            Name
        </dt>
        <dd>
          sample string 2
        </dd>
        <dt>
           Email
        </dt>
        <dd>
           sample string 4
        </dd>
        <dt>
            Comment
        </dt>
        <dd>
            sample string 3
        </dd>
        <dt>
            Address
        </dt>
        <dd>
            sample string 5
        </dd>
        <dt>
            UPRN
        </dt>
        <dd>
            sample string 6 
        </dd>
        <dt>
            Date
        </dt>
        <dd>
            22/02/2020 20:03:00
        </dd>
        <dt>
            Responded To?
        </dt>
        <dd>
            True
        </dd>

    </dl>
</div>


application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "comment": "sample string 3",
  "email": "sample string 4",
  "date": "2020-02-22T20:03:00.8281909+00:00",
  "respondedTo": true,
  "address": "sample string 5",
  "uprn": "sample string 6"
}

application/xml, text/xml

Sample:
<BinApp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HDCAPIModel.Models">
  <Address>sample string 5</Address>
  <Comment>sample string 3</Comment>
  <Date>2020-02-22T20:03:00.8281909+00:00</Date>
  <Email>sample string 4</Email>
  <Name>sample string 2</Name>
  <RespondedTo>true</RespondedTo>
  <UPRN>sample string 6</UPRN>
  <id>1</id>
</BinApp>

text/javascript

Sample:
({"id":1,"name":"sample string 2","comment":"sample string 3","email":"sample string 4","date":"2020-02-22T20:03:00.8281909+00:00","respondedTo":true,"address":"sample string 5","uprn":"sample string 6"});