POST api/Customer

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
CustomerId

globally unique identifier

None.

Name

string

None.

Address

string

None.

Note

string

None.

ContactEmails

string

None.

ITEmails

string

None.

Phone

string

None.

CloudCustomer

boolean

None.

HasSftp

boolean

None.

CustomerType

CustomerTypeEnum

None.

Active

boolean

None.

DbBackupExportHook

string

None.

SpecialProperties

string

None.

SpecialPropertiesSuperSet

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "a9290399-e302-4b33-98b4-afa930d675dc",
  "Name": "sample string 2",
  "Address": "sample string 3",
  "Note": "sample string 4",
  "ContactEmails": "sample string 5",
  "ITEmails": "sample string 6",
  "Phone": "sample string 7",
  "CloudCustomer": true,
  "HasSftp": true,
  "CustomerType": 0,
  "Active": true,
  "DbBackupExportHook": "sample string 10",
  "SpecialProperties": "sample string 12",
  "SpecialPropertiesSuperSet": "sample string 13"
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmpyreanLicenseDomain.Models">
  <Active>true</Active>
  <Address>sample string 3</Address>
  <ChangeLog>
    <AdditionalData>sample string 3</AdditionalData>
    <ChangeCode>None</ChangeCode>
    <Context>None</Context>
    <CreatedBy>sample string 4</CreatedBy>
    <CreatedDate>2026-01-12T01:25:32.2974158+00:00</CreatedDate>
    <Description>sample string 2</Description>
    <Id>1</Id>
  </ChangeLog>
  <CloudCustomer>true</CloudCustomer>
  <ContactEmails>sample string 5</ContactEmails>
  <CustomerId>a9290399-e302-4b33-98b4-afa930d675dc</CustomerId>
  <CustomerType>None</CustomerType>
  <DbBackupExportHook>sample string 10</DbBackupExportHook>
  <Deleted>true</Deleted>
  <ITEmails>sample string 6</ITEmails>
  <Name>sample string 2</Name>
  <Note>sample string 4</Note>
  <Phone>sample string 7</Phone>
  <SftpAccount>
    <SftpAccount>
      <CustomerId>132c2213-a77c-41d0-9284-fa7dffce875e</CustomerId>
      <Id>1</Id>
      <SftpPassword>sample string 4</SftpPassword>
      <SftpUser>sample string 3</SftpUser>
    </SftpAccount>
    <SftpAccount>
      <CustomerId>132c2213-a77c-41d0-9284-fa7dffce875e</CustomerId>
      <Id>1</Id>
      <SftpPassword>sample string 4</SftpPassword>
      <SftpUser>sample string 3</SftpUser>
    </SftpAccount>
  </SftpAccount>
  <SpecialProperties>sample string 12</SpecialProperties>
  <SpecialPropertiesSuperSet>sample string 13</SpecialPropertiesSuperSet>
</Customer>

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

Response Information

Resource Description

None.