POST api/FleetUpdateCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerModel
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

CustomerName

string

Required

ContactPerson

string

Required

EmailAddress

string

Required

Matching regular expression pattern: ^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$

Telephone

string

Required

VATNumber

string

None.

StreetAddress1

string

Required

StreetAddress2

string

Required

StreetAddress3

string

Required

StreetAddressAreaCode

string

Required

String length: inclusive between 4 and 4

IsPostalSameAsResidentialAddress

boolean

None.

PostalAddress1

string

Required

PostalAddress2

string

Required

PostalAddress3

string

Required

PostalAddressAreaCode

string

Required

String length: inclusive between 4 and 4

IsActive

boolean

None.

CreatedOn

date

None.

CreatedBy

globally unique identifier

None.

ModifiedOn

date

None.

ModifiedBy

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "ab3aee9c-c58c-4218-ad34-ce5db8a67593",
  "CustomerName": "sample string 2",
  "ContactPerson": "sample string 3",
  "EmailAddress": "sample string 4",
  "Telephone": "sample string 5",
  "VATNumber": "sample string 6",
  "StreetAddress1": "sample string 7",
  "StreetAddress2": "sample string 8",
  "StreetAddress3": "sample string 9",
  "StreetAddressAreaCode": "sample string 10",
  "IsPostalSameAsResidentialAddress": true,
  "PostalAddress1": "sample string 12",
  "PostalAddress2": "sample string 13",
  "PostalAddress3": "sample string 14",
  "PostalAddressAreaCode": "sample string 15",
  "IsActive": true,
  "CreatedOn": "2026-04-08T14:57:27.4408382+02:00",
  "CreatedBy": "442ae66f-2f8c-483c-80ea-bebabf838f4b",
  "ModifiedOn": "2026-04-08T14:57:27.4408382+02:00",
  "ModifiedBy": "21ba357d-4d97-445d-838d-facf050d3408"
}

application/xml, text/xml

Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuoteEngineDta.FleetModels.Estimate">
  <ContactPerson>sample string 3</ContactPerson>
  <CreatedBy>442ae66f-2f8c-483c-80ea-bebabf838f4b</CreatedBy>
  <CreatedOn>2026-04-08T14:57:27.4408382+02:00</CreatedOn>
  <CustomerName>sample string 2</CustomerName>
  <EmailAddress>sample string 4</EmailAddress>
  <IsActive>true</IsActive>
  <IsPostalSameAsResidentialAddress>true</IsPostalSameAsResidentialAddress>
  <ModifiedBy>21ba357d-4d97-445d-838d-facf050d3408</ModifiedBy>
  <ModifiedOn>2026-04-08T14:57:27.4408382+02:00</ModifiedOn>
  <PostalAddress1>sample string 12</PostalAddress1>
  <PostalAddress2>sample string 13</PostalAddress2>
  <PostalAddress3>sample string 14</PostalAddress3>
  <PostalAddressAreaCode>sample string 15</PostalAddressAreaCode>
  <StreetAddress1>sample string 7</StreetAddress1>
  <StreetAddress2>sample string 8</StreetAddress2>
  <StreetAddress3>sample string 9</StreetAddress3>
  <StreetAddressAreaCode>sample string 10</StreetAddressAreaCode>
  <Telephone>sample string 5</Telephone>
  <VATNumber>sample string 6</VATNumber>
  <id>ab3aee9c-c58c-4218-ad34-ce5db8a67593</id>
</CustomerModel>

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 'CustomerModel'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>