POST api/EmailConfig/EmailInboxAssignment?_companyId={_companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
_companyId

integer

Required

Body Parameters

Collection of EmailConfig
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

Password

string

None.

Host

string

None.

Port

integer

None.

SSL

boolean

None.

ActiveMailsService

boolean

None.

ActiveReceptMailsService

boolean

None.

LastAttemptMailsService

date

None.

LastAttemptReceptMailsService

date

None.

SenderAddress

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Email": "sample string 2",
    "Password": "sample string 3",
    "Host": "sample string 4",
    "Port": 5,
    "SSL": true,
    "ActiveMailsService": true,
    "ActiveReceptMailsService": true,
    "LastAttemptMailsService": "2026-03-05T18:48:34.3791629-06:00",
    "LastAttemptReceptMailsService": "2026-03-05T18:48:34.3791629-06:00",
    "SenderAddress": "sample string 11"
  },
  {
    "Id": 1,
    "Email": "sample string 2",
    "Password": "sample string 3",
    "Host": "sample string 4",
    "Port": 5,
    "SSL": true,
    "ActiveMailsService": true,
    "ActiveReceptMailsService": true,
    "LastAttemptMailsService": "2026-03-05T18:48:34.3791629-06:00",
    "LastAttemptReceptMailsService": "2026-03-05T18:48:34.3791629-06:00",
    "SenderAddress": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmailConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVS_FE.Models.Configuracion">
  <EmailConfig>
    <ActiveMailsService>true</ActiveMailsService>
    <ActiveReceptMailsService>true</ActiveReceptMailsService>
    <Email>sample string 2</Email>
    <Host>sample string 4</Host>
    <Id>1</Id>
    <LastAttemptMailsService>2026-03-05T18:48:34.3791629-06:00</LastAttemptMailsService>
    <LastAttemptReceptMailsService>2026-03-05T18:48:34.3791629-06:00</LastAttemptReceptMailsService>
    <Password>sample string 3</Password>
    <Port>5</Port>
    <SSL>true</SSL>
    <SenderAddress>sample string 11</SenderAddress>
  </EmailConfig>
  <EmailConfig>
    <ActiveMailsService>true</ActiveMailsService>
    <ActiveReceptMailsService>true</ActiveReceptMailsService>
    <Email>sample string 2</Email>
    <Host>sample string 4</Host>
    <Id>1</Id>
    <LastAttemptMailsService>2026-03-05T18:48:34.3791629-06:00</LastAttemptMailsService>
    <LastAttemptReceptMailsService>2026-03-05T18:48:34.3791629-06:00</LastAttemptReceptMailsService>
    <Password>sample string 3</Password>
    <Port>5</Port>
    <SSL>true</SSL>
    <SenderAddress>sample string 11</SenderAddress>
  </EmailConfig>
</ArrayOfEmailConfig>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.