POST api/Summer
Request Information
URI Parameters
None.
Body Parameters
SummerOrder| Name | Description | Type | Additional information |
|---|---|---|---|
| SellerNr | integer |
None. |
|
| ClientId | integer |
None. |
|
| OrderComment | string |
None. |
|
| ArticleId | integer |
None. |
|
| ArticleIdRebate | integer |
None. |
|
| UseRebate | boolean |
None. |
|
| Length | decimal number |
None. |
|
| UseLength | boolean |
None. |
|
| AgreementUri | string |
None. |
|
| Customer | Customer |
None. |
|
| Accessories | Collection of AccessoryRow |
None. |
|
| Individual | Individual |
None. |
Request Formats
application/json, text/json
Sample:
{
"SellerNr": 1,
"ClientId": 2,
"OrderComment": "sample string 3",
"ArticleId": 4,
"ArticleIdRebate": 5,
"UseRebate": true,
"Length": 7.1,
"UseLength": true,
"AgreementUri": "sample string 9",
"Customer": {
"CustomerId": 1,
"CustomerNumber": 2,
"CustomerTypeID": 3,
"CompanyName": "sample string 4",
"LastName": "sample string 5",
"FirstName": "sample string 6",
"StreetAddress": "sample string 7",
"ZipCode": "sample string 8",
"City": "sample string 9",
"Telephone": "sample string 10",
"MobilePhone": "sample string 11",
"EmailAddress": "sample string 12",
"SocialSecNr": "sample string 13"
},
"Accessories": [
{
"ArticleId": 1,
"ProductText": "sample string 2",
"Units": 3,
"Price": 4
},
{
"ArticleId": 1,
"ProductText": "sample string 2",
"Units": 3,
"Price": 4
}
],
"Individual": {
"IndividualId": 1,
"IndividualNr": 2,
"CustomerId": 3,
"ModelId": 1,
"BoatBrand": "sample string 4",
"BoatModel": "sample string 5",
"BoatYear": "sample string 6",
"HullNumber": "sample string 7",
"EngineBrand": "sample string 8",
"EngineModel": "sample string 9",
"EngineYear": 1,
"EngineNumber": "sample string 10",
"SummerPlacement": "sample string 11",
"WinterPlacement": "sample string 12",
"KeyPlacement": "sample string 13",
"BatteryPlacement": "sample string 14",
"Length": 1.0,
"Width": 1.0
}
}
application/xml, text/xml
Sample:
<SummerOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdmApi.Marindepan2015.Models">
<Accessories>
<AccessoryRow>
<ArticleId>1</ArticleId>
<Price>4</Price>
<ProductText>sample string 2</ProductText>
<Units>3</Units>
</AccessoryRow>
<AccessoryRow>
<ArticleId>1</ArticleId>
<Price>4</Price>
<ProductText>sample string 2</ProductText>
<Units>3</Units>
</AccessoryRow>
</Accessories>
<AgreementUri>sample string 9</AgreementUri>
<ArticleId>4</ArticleId>
<ArticleIdRebate>5</ArticleIdRebate>
<ClientId>2</ClientId>
<Customer>
<City>sample string 9</City>
<CompanyName>sample string 4</CompanyName>
<CustomerId>1</CustomerId>
<CustomerNumber>2</CustomerNumber>
<CustomerTypeID>3</CustomerTypeID>
<EmailAddress>sample string 12</EmailAddress>
<FirstName>sample string 6</FirstName>
<LastName>sample string 5</LastName>
<MobilePhone>sample string 11</MobilePhone>
<SocialSecNr>sample string 13</SocialSecNr>
<StreetAddress>sample string 7</StreetAddress>
<Telephone>sample string 10</Telephone>
<ZipCode>sample string 8</ZipCode>
</Customer>
<Individual>
<BatteryPlacement>sample string 14</BatteryPlacement>
<BoatBrand>sample string 4</BoatBrand>
<BoatModel>sample string 5</BoatModel>
<BoatYear>sample string 6</BoatYear>
<CustomerId>3</CustomerId>
<EngineBrand>sample string 8</EngineBrand>
<EngineModel>sample string 9</EngineModel>
<EngineNumber>sample string 10</EngineNumber>
<EngineYear>1</EngineYear>
<HullNumber>sample string 7</HullNumber>
<IndividualId>1</IndividualId>
<IndividualNr>2</IndividualNr>
<KeyPlacement>sample string 13</KeyPlacement>
<Length>1</Length>
<ModelId>1</ModelId>
<SummerPlacement>sample string 11</SummerPlacement>
<Width>1</Width>
<WinterPlacement>sample string 12</WinterPlacement>
</Individual>
<Length>7.1</Length>
<OrderComment>sample string 3</OrderComment>
<SellerNr>1</SellerNr>
<UseLength>true</UseLength>
<UseRebate>true</UseRebate>
</SummerOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
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/" />