POST api/v1/VesselSave

Request Information

URI Parameters

None.

Body Parameters

VesselSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

PageNumber

integer

None.

PageSize

integer

None.

VPRorPAS

string

None.

VesselID

integer

None.

VesselTypeID

integer

None.

AgentID

integer

None.

PortID

integer

None.

LocID

integer

None.

PrevPortID

integer

None.

NextPortID

integer

None.

Owner

string

None.

BLAActivityID

string

None.

ShipMovementID

string

None.

PricTypeID

string

None.

CompID

integer

None.

UserID

integer

None.

BerthID

integer

None.

Price

decimal number

None.

VesselPrefixID

integer

None.

ActivityID

string

None.

Remarks

string

None.

VesselName

string

None.

VoyageNo

string

None.

Charterer

string

None.

NominatedBy

string

None.

AppointedBy

string

None.

Shipper

string

None.

Receiver

string

None.

LOA

decimal number

None.

ETA

string

None.

ETB

string

None.

ETC

string

None.

SailDate

string

None.

PriceTypeID

string

None.

json

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "PageNumber": 2,
  "PageSize": 3,
  "VPRorPAS": "sample string 4",
  "VesselID": 5,
  "VesselTypeID": 6,
  "AgentID": 7,
  "PortID": 8,
  "LocID": 9,
  "PrevPortID": 10,
  "NextPortID": 11,
  "Owner": "sample string 12",
  "BLAActivityID": "sample string 13",
  "ShipMovementID": "sample string 14",
  "PricTypeID": "sample string 15",
  "CompID": 16,
  "UserID": 17,
  "BerthID": 18,
  "Price": 19.0,
  "VesselPrefixID": 20,
  "ActivityID": "sample string 21",
  "Remarks": "sample string 22",
  "VesselName": "sample string 23",
  "VoyageNo": "sample string 24",
  "Charterer": "sample string 25",
  "NominatedBy": "sample string 26",
  "AppointedBy": "sample string 27",
  "Shipper": "sample string 28",
  "Receiver": "sample string 29",
  "LOA": 30.0,
  "ETA": "sample string 31",
  "ETB": "sample string 32",
  "ETC": "sample string 33",
  "SailDate": "sample string 34",
  "PriceTypeID": "sample string 35",
  "json": "sample string 36"
}

application/xml, text/xml

Sample:
<VesselSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <ActivityID>sample string 21</ActivityID>
  <AgentID>7</AgentID>
  <AppointedBy>sample string 27</AppointedBy>
  <BLAActivityID>sample string 13</BLAActivityID>
  <BerthID>18</BerthID>
  <Charterer>sample string 25</Charterer>
  <CompID>16</CompID>
  <ETA>sample string 31</ETA>
  <ETB>sample string 32</ETB>
  <ETC>sample string 33</ETC>
  <LOA>30</LOA>
  <LocID>9</LocID>
  <Mode>sample string 1</Mode>
  <NextPortID>11</NextPortID>
  <NominatedBy>sample string 26</NominatedBy>
  <Owner>sample string 12</Owner>
  <PageNumber>2</PageNumber>
  <PageSize>3</PageSize>
  <PortID>8</PortID>
  <PrevPortID>10</PrevPortID>
  <PricTypeID>sample string 15</PricTypeID>
  <Price>19</Price>
  <PriceTypeID>sample string 35</PriceTypeID>
  <Receiver>sample string 29</Receiver>
  <Remarks>sample string 22</Remarks>
  <SailDate>sample string 34</SailDate>
  <ShipMovementID>sample string 14</ShipMovementID>
  <Shipper>sample string 28</Shipper>
  <UserID>17</UserID>
  <VPRorPAS>sample string 4</VPRorPAS>
  <VesselID>5</VesselID>
  <VesselName>sample string 23</VesselName>
  <VesselPrefixID>20</VesselPrefixID>
  <VesselTypeID>6</VesselTypeID>
  <VoyageNo>sample string 24</VoyageNo>
  <json>sample string 36</json>
</VesselSaveInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VesselSaveInput'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.