POST api/info/CustomerTypes

Gets available customer types

Request Information

URI Parameters

None.

Body Parameters

MarinaCodeModel
NameDescriptionTypeAdditional information
marinaCode

Unique code of marina

string

None.

marinaId

Unique ID of marina

integer

None.

marinaName

Marina name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "marinaCode": "HM",
  "marinaId": null,
  "marinaName": null
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="marinaCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="marinaId"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="marinaName"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

CustomerTypeListModel
NameDescriptionTypeAdditional information
types

List of available Customer Types

Collection of CustomerTypeModel

None.

Response Formats

application/json, text/json

Sample:
{
  "types": [
    {
      "customerTypeCode": "sample string 1",
      "customerType": "sample string 2"
    },
    {
      "customerTypeCode": "sample string 1",
      "customerType": "sample string 2"
    }
  ]
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="types[0].CustomerTypeCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="types[0].CustomerType"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="types[1].CustomerTypeCode"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="types[1].CustomerType"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e--