POST api/Reseller

Request Information

URI Parameters

None.

Body Parameters

ResellerDto
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

DataAreas

Collection of ResellerDataAreaDto

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "dataAreas": [
    {
      "id": 1,
      "dataArea": {
        "id": 1,
        "name": "sample string 2",
        "isCustomerData": true,
        "isPaidForOption": true
      },
      "deleted": true
    },
    {
      "id": 1,
      "dataArea": {
        "id": 1,
        "name": "sample string 2",
        "isCustomerData": true,
        "isPaidForOption": true
      },
      "deleted": true
    }
  ]
}

text/plain

Sample:
{"id":1,"name":"sample string 2","dataAreas":[{"id":1,"dataArea":{"id":1,"name":"sample string 2","isCustomerData":true,"isPaidForOption":true},"deleted":true},{"id":1,"dataArea":{"id":1,"name":"sample string 2","isCustomerData":true,"isPaidForOption":true},"deleted":true}]}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain

Sample:

Sample not available.