POST api/trailer

Request Information

URI Parameters

None.

Body Parameters

Trailer
NameDescriptionTypeAdditional information
TrailerBrandCrossId

integer

None.

BrandId

integer

None.

TrailerId

integer

None.

TrailerTypeId

integer

None.

varenr

string

None.

TrailerName

string

None.

ModelNameSlug

string

None.

IsActive

boolean

None.

OrderBy

integer

None.

MaxLoadWeight

integer

None.

MaxBoatLength

integer

None.

OwnWeight

integer

None.

OwnLength

integer

None.

OwnWidth

integer

None.

SupportWheel

boolean

None.

TrailerBasePrice

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TrailerBrandCrossId": 1,
  "BrandId": 2,
  "TrailerId": 3,
  "TrailerTypeId": 4,
  "varenr": "sample string 5",
  "TrailerName": "sample string 6",
  "ModelNameSlug": "sample string 7",
  "IsActive": true,
  "OrderBy": 9,
  "MaxLoadWeight": 1,
  "MaxBoatLength": 1,
  "OwnWeight": 1,
  "OwnLength": 1,
  "OwnWidth": 1,
  "SupportWheel": true,
  "TrailerBasePrice": 1
}

application/xml, text/xml

Sample:
<Trailer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdmApi.Marindepan2015.Models">
  <BrandId>2</BrandId>
  <IsActive>true</IsActive>
  <MaxBoatLength>1</MaxBoatLength>
  <MaxLoadWeight>1</MaxLoadWeight>
  <ModelNameSlug>sample string 7</ModelNameSlug>
  <OrderBy>9</OrderBy>
  <OwnLength>1</OwnLength>
  <OwnWeight>1</OwnWeight>
  <OwnWidth>1</OwnWidth>
  <SupportWheel>true</SupportWheel>
  <TrailerBasePrice>1</TrailerBasePrice>
  <TrailerBrandCrossId>1</TrailerBrandCrossId>
  <TrailerId>3</TrailerId>
  <TrailerName>sample string 6</TrailerName>
  <TrailerTypeId>4</TrailerTypeId>
  <varenr>sample string 5</varenr>
</Trailer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />