POST api/Customer/EmailSftp

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": "a2373a80-e217-4e1e-944a-fcb553191acc",
  "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:28:04.4686567+00:00</CreatedDate>
    <Description>sample string 2</Description>
    <Id>1</Id>
  </ChangeLog>
  <CloudCustomer>true</CloudCustomer>
  <ContactEmails>sample string 5</ContactEmails>
  <CustomerId>a2373a80-e217-4e1e-944a-fcb553191acc</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>1c19edee-2197-48c5-ade2-2c5246a22ecf</CustomerId>
      <Id>1</Id>
      <SftpPassword>sample string 4</SftpPassword>
      <SftpUser>sample string 3</SftpUser>
    </SftpAccount>
    <SftpAccount>
      <CustomerId>1c19edee-2197-48c5-ade2-2c5246a22ecf</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

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.