POST api/ServiceRequest
Request Information
URI Parameters
None.
Body Parameters
ServiceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestID | integer |
None. |
|
| RequestTypeID | integer |
None. |
|
| Company | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| StreetAddress | string |
None. |
|
| ZipCode | string |
None. |
|
| City | string |
None. |
|
| TelephoneHome | string |
None. |
|
| TelephoneWork | string |
None. |
|
| TelephoneMobile | string |
None. |
|
| string |
None. |
||
| PersonalMessage | string |
None. |
|
| LocationID | integer |
None. |
|
| IsHandled | boolean |
None. |
|
| IsYes | boolean |
None. |
|
| MainBrand | string |
None. |
|
| MainModel | string |
None. |
|
| MainYear | integer |
None. |
|
| ExtraBrand | string |
None. |
|
| ExtraModel | string |
None. |
|
| ExtraYear | integer |
None. |
|
| Length | integer |
None. |
|
| Width | integer |
None. |
|
| Weight | integer |
None. |
|
| BoatTypeID | integer |
None. |
|
| SummerAlsoWinter | boolean |
None. |
|
| AttachedImage | string |
None. |
|
| SpecificMessage | string |
None. |
|
| ProductTypeID | integer |
None. |
|
| HINnumber | string |
None. |
|
| EngineNumber | string |
None. |
|
| WorkWhereID | integer |
None. |
|
| HowGetThereID | integer |
None. |
|
| ContactPreferenceID | integer |
None. |
|
| TypeOfBoatId | integer |
None. |
|
| TypeOfEngineId | integer |
None. |
|
| TypeOfServiceId | integer |
None. |
|
| WantsCovered | boolean |
None. |
|
| WantsCanopyStorage | boolean |
None. |
|
| WantsCanopyWashing | boolean |
None. |
|
| NumberOfBatteries | integer |
None. |
|
| NumberOfEngines | integer |
None. |
|
| EngineSubCategoryId | integer |
None. |
|
| EngineSizeId | integer |
None. |
|
| EngineOrSternDriveStorage | boolean |
None. |
|
| ServiceOptionId | integer |
None. |
|
| PropulsionId | integer |
None. |
|
| ConsFreshWater | boolean |
None. |
|
| ConsWarmWater | boolean |
None. |
|
| ConsWC | boolean |
None. |
|
| AnitfoulPainting | boolean |
None. |
|
| PolishBoards | boolean |
None. |
|
| WashTop | boolean |
None. |
|
| Seller | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RequestID": 1,
"RequestTypeID": 2,
"Company": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"StreetAddress": "sample string 6",
"ZipCode": "sample string 7",
"City": "sample string 8",
"TelephoneHome": "sample string 9",
"TelephoneWork": "sample string 10",
"TelephoneMobile": "sample string 11",
"Email": "sample string 12",
"PersonalMessage": "sample string 13",
"LocationID": 14,
"IsHandled": true,
"IsYes": true,
"MainBrand": "sample string 17",
"MainModel": "sample string 18",
"MainYear": 19,
"ExtraBrand": "sample string 20",
"ExtraModel": "sample string 21",
"ExtraYear": 22,
"Length": 23,
"Width": 24,
"Weight": 25,
"BoatTypeID": 26,
"SummerAlsoWinter": true,
"AttachedImage": "sample string 28",
"SpecificMessage": "sample string 29",
"ProductTypeID": 30,
"HINnumber": "sample string 31",
"EngineNumber": "sample string 32",
"WorkWhereID": 33,
"HowGetThereID": 34,
"ContactPreferenceID": 35,
"TypeOfBoatId": 36,
"TypeOfEngineId": 37,
"TypeOfServiceId": 38,
"WantsCovered": true,
"WantsCanopyStorage": true,
"WantsCanopyWashing": true,
"NumberOfBatteries": 42,
"NumberOfEngines": 43,
"EngineSubCategoryId": 44,
"EngineSizeId": 45,
"EngineOrSternDriveStorage": true,
"ServiceOptionId": 47,
"PropulsionId": 48,
"ConsFreshWater": true,
"ConsWarmWater": true,
"ConsWC": true,
"AnitfoulPainting": true,
"PolishBoards": true,
"WashTop": true,
"Seller": "sample string 55"
}
application/xml, text/xml
Sample:
<ServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Marindepan2015.Models"> <AnitfoulPainting>true</AnitfoulPainting> <AttachedImage>sample string 28</AttachedImage> <BoatTypeID>26</BoatTypeID> <City>sample string 8</City> <Company>sample string 3</Company> <ConsFreshWater>true</ConsFreshWater> <ConsWC>true</ConsWC> <ConsWarmWater>true</ConsWarmWater> <ContactPreferenceID>35</ContactPreferenceID> <Email>sample string 12</Email> <EngineNumber>sample string 32</EngineNumber> <EngineOrSternDriveStorage>true</EngineOrSternDriveStorage> <EngineSizeId>45</EngineSizeId> <EngineSubCategoryId>44</EngineSubCategoryId> <ExtraBrand>sample string 20</ExtraBrand> <ExtraModel>sample string 21</ExtraModel> <ExtraYear>22</ExtraYear> <FirstName>sample string 4</FirstName> <HINnumber>sample string 31</HINnumber> <HowGetThereID>34</HowGetThereID> <IsHandled>true</IsHandled> <IsYes>true</IsYes> <LastName>sample string 5</LastName> <Length>23</Length> <LocationID>14</LocationID> <MainBrand>sample string 17</MainBrand> <MainModel>sample string 18</MainModel> <MainYear>19</MainYear> <NumberOfBatteries>42</NumberOfBatteries> <NumberOfEngines>43</NumberOfEngines> <PersonalMessage>sample string 13</PersonalMessage> <PolishBoards>true</PolishBoards> <ProductTypeID>30</ProductTypeID> <PropulsionId>48</PropulsionId> <RequestID>1</RequestID> <RequestTypeID>2</RequestTypeID> <Seller>sample string 55</Seller> <ServiceOptionId>47</ServiceOptionId> <SpecificMessage>sample string 29</SpecificMessage> <StreetAddress>sample string 6</StreetAddress> <SummerAlsoWinter>true</SummerAlsoWinter> <TelephoneHome>sample string 9</TelephoneHome> <TelephoneMobile>sample string 11</TelephoneMobile> <TelephoneWork>sample string 10</TelephoneWork> <TypeOfBoatId>36</TypeOfBoatId> <TypeOfEngineId>37</TypeOfEngineId> <TypeOfServiceId>38</TypeOfServiceId> <WantsCanopyStorage>true</WantsCanopyStorage> <WantsCanopyWashing>true</WantsCanopyWashing> <WantsCovered>true</WantsCovered> <WashTop>true</WashTop> <Weight>25</Weight> <Width>24</Width> <WorkWhereID>33</WorkWhereID> <ZipCode>sample string 7</ZipCode> </ServiceRequest>
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/" />