POST EmailLog/InsertEmailLog
Request Information
URI Parameters
None.
Body Parameters
EmailLog| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Subject | string |
None. |
|
| Body | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| EmailFrom | string |
None. |
|
| EmailTo | string |
None. |
|
| Status | boolean |
None. |
|
| EmailId | integer |
None. |
|
| Error | string |
None. |
|
| TotalPages | integer |
None. |
|
| page | integer |
None. |
|
| CompanyId | integer |
None. |
|
| BranchId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Subject": "sample string 2",
"Body": "sample string 3",
"CreatedBy": 4,
"CreatedDate": "2025-10-29T05:52:16.9530551+03:00",
"EmailFrom": "sample string 6",
"EmailTo": "sample string 7",
"Status": true,
"EmailId": 9,
"Error": "sample string 10",
"TotalPages": 11,
"page": 12,
"CompanyId": 13,
"BranchId": 14
}
application/xml, text/xml
Sample:
<EmailLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO"> <Body>sample string 3</Body> <BranchId>14</BranchId> <CompanyId>13</CompanyId> <CreatedBy>4</CreatedBy> <CreatedDate>2025-10-29T05:52:16.9530551+03:00</CreatedDate> <EmailFrom>sample string 6</EmailFrom> <EmailId>9</EmailId> <EmailTo>sample string 7</EmailTo> <Error>sample string 10</Error> <Id>1</Id> <Status>true</Status> <Subject>sample string 2</Subject> <TotalPages>11</TotalPages> <page>12</page> </EmailLog>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| IsScusses | boolean |
None. |
|
| ResponseDetails | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorCode": 1,
"ErrorMessage": "sample string 2",
"IsScusses": true,
"ResponseDetails": {}
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models"> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> <IsScusses>true</IsScusses> <ResponseDetails /> </Response>