POST api/Warehouses/LogEmail
Request Information
URI Parameters
None.
Body Parameters
LogEmailViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CreatedDate | date |
None. |
|
UpdatedDate | date |
None. |
|
DeletedDate | date |
None. |
|
messageId | string |
None. |
|
receivedDateTime | date |
None. |
|
sentDateTime | date |
None. |
|
subject | string |
None. |
|
bodyPreview | string |
None. |
|
importance | string |
None. |
|
conversationId | string |
None. |
|
conversationIndex | string |
None. |
|
conversationGUID | string |
None. |
|
domain | string |
None. |
|
userID | string |
None. |
|
EmailRecipients | Collection of IfsEMailRecipientsViewModel |
None. |
|
CategoryId | integer |
None. |
|
IsCritical | boolean |
None. |
|
CompanyId | integer |
None. |
|
ContactId | integer |
None. |
|
QuoteId | integer |
None. |
|
InternatMessageId | string |
None. |
|
HasAttachments | boolean |
None. |
|
IsAttachmentSaved | boolean |
None. |
|
IfsEmailDatas | IfsEmailDataDetails |
None. |
|
EmailBlobAttachments | Collection of IfsEmailBlobAttachmentModel |
None. |
|
RelationalCompanyId | integer |
None. |
|
IsLoggedEmail | boolean |
None. |
|
Source | integer |
None. |
|
CarrierId | integer |
None. |
|
CarrierContactId | integer |
None. |
|
IsFollowUp | boolean |
None. |
|
FollowUpTypeId | integer |
None. |
|
DueDateTime | date |
None. |
|
DueStartTime | date |
None. |
|
DueEndTime | date |
None. |
|
ClientTimeZone | string |
None. |
|
PointOfContactId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "CreatedDate": "2025-08-02T14:13:09.5456248-04:00", "UpdatedDate": "2025-08-02T14:13:09.5456248-04:00", "DeletedDate": "2025-08-02T14:13:09.5456248-04:00", "messageId": "sample string 3", "receivedDateTime": "2025-08-02T14:13:09.5456248-04:00", "sentDateTime": "2025-08-02T14:13:09.5456248-04:00", "subject": "sample string 6", "bodyPreview": "sample string 7", "importance": "sample string 8", "conversationId": "sample string 9", "conversationIndex": "sample string 10", "conversationGUID": "sample string 11", "domain": "sample string 12", "userID": "sample string 13", "EmailRecipients": [ { "EmailDataId": 1, "RecipientName": "sample string 2", "Emailaddress": "sample string 3", "Type": 4 }, { "EmailDataId": 1, "RecipientName": "sample string 2", "Emailaddress": "sample string 3", "Type": 4 } ], "CategoryId": 1, "IsCritical": true, "CompanyId": 1, "ContactId": 1, "QuoteId": 1, "InternatMessageId": "sample string 14", "HasAttachments": true, "IsAttachmentSaved": true, "IfsEmailDatas": { "Id": 1, "CreatedDate": "2025-08-02T14:13:09.5456248-04:00", "UpdatedDate": "2025-08-02T14:13:09.5456248-04:00", "DeletedDate": "2025-08-02T14:13:09.5456248-04:00", "EmailDataId": 3, "Body": "sample string 4", "UniqueBody": "sample string 5" }, "EmailBlobAttachments": [ { "Id": 1, "CreatedDate": "2025-08-02T14:13:09.5456248-04:00", "UpdatedDate": "2025-08-02T14:13:09.5456248-04:00", "DeletedDate": "2025-08-02T14:13:09.5456248-04:00", "EmailDataId": 3, "ContentType": "sample string 4", "FileName": "sample string 5", "FileSize": "sample string 6", "Path": "sample string 7", "IsInlineAttachment": true, "ContentId": "sample string 9", "AttachmentId": 10 }, { "Id": 1, "CreatedDate": "2025-08-02T14:13:09.5456248-04:00", "UpdatedDate": "2025-08-02T14:13:09.5456248-04:00", "DeletedDate": "2025-08-02T14:13:09.5456248-04:00", "EmailDataId": 3, "ContentType": "sample string 4", "FileName": "sample string 5", "FileSize": "sample string 6", "Path": "sample string 7", "IsInlineAttachment": true, "ContentId": "sample string 9", "AttachmentId": 10 } ], "RelationalCompanyId": 1, "IsLoggedEmail": true, "Source": 15, "CarrierId": 1, "CarrierContactId": 1, "IsFollowUp": true, "FollowUpTypeId": 1, "DueDateTime": "2025-08-02T14:13:09.5456248-04:00", "DueStartTime": "2025-08-02T14:13:09.5456248-04:00", "DueEndTime": "2025-08-02T14:13:09.5456248-04:00", "ClientTimeZone": "sample string 16", "PointOfContactId": 1 }
application/xml, text/xml
Sample:
<LogEmailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model.WMS.InputOutputModels"> <CarrierContactId>1</CarrierContactId> <CarrierId>1</CarrierId> <CategoryId>1</CategoryId> <ClientTimeZone>sample string 16</ClientTimeZone> <CompanyId>1</CompanyId> <ContactId>1</ContactId> <CreatedDate>2025-08-02T14:13:09.5456248-04:00</CreatedDate> <DeletedDate>2025-08-02T14:13:09.5456248-04:00</DeletedDate> <DueDateTime>2025-08-02T14:13:09.5456248-04:00</DueDateTime> <DueEndTime>2025-08-02T14:13:09.5456248-04:00</DueEndTime> <DueStartTime>2025-08-02T14:13:09.5456248-04:00</DueStartTime> <EmailBlobAttachments> <IfsEmailBlobAttachmentModel> <AttachmentId>10</AttachmentId> <ContentId>sample string 9</ContentId> <ContentType>sample string 4</ContentType> <CreatedDate>2025-08-02T14:13:09.5456248-04:00</CreatedDate> <DeletedDate>2025-08-02T14:13:09.5456248-04:00</DeletedDate> <EmailDataId>3</EmailDataId> <FileName>sample string 5</FileName> <FileSize>sample string 6</FileSize> <Id>1</Id> <IsInlineAttachment>true</IsInlineAttachment> <Path>sample string 7</Path> <UpdatedDate>2025-08-02T14:13:09.5456248-04:00</UpdatedDate> </IfsEmailBlobAttachmentModel> <IfsEmailBlobAttachmentModel> <AttachmentId>10</AttachmentId> <ContentId>sample string 9</ContentId> <ContentType>sample string 4</ContentType> <CreatedDate>2025-08-02T14:13:09.5456248-04:00</CreatedDate> <DeletedDate>2025-08-02T14:13:09.5456248-04:00</DeletedDate> <EmailDataId>3</EmailDataId> <FileName>sample string 5</FileName> <FileSize>sample string 6</FileSize> <Id>1</Id> <IsInlineAttachment>true</IsInlineAttachment> <Path>sample string 7</Path> <UpdatedDate>2025-08-02T14:13:09.5456248-04:00</UpdatedDate> </IfsEmailBlobAttachmentModel> </EmailBlobAttachments> <EmailRecipients> <IfsEMailRecipientsViewModel> <EmailDataId>1</EmailDataId> <Emailaddress>sample string 3</Emailaddress> <RecipientName>sample string 2</RecipientName> <Type>4</Type> </IfsEMailRecipientsViewModel> <IfsEMailRecipientsViewModel> <EmailDataId>1</EmailDataId> <Emailaddress>sample string 3</Emailaddress> <RecipientName>sample string 2</RecipientName> <Type>4</Type> </IfsEMailRecipientsViewModel> </EmailRecipients> <FollowUpTypeId>1</FollowUpTypeId> <HasAttachments>true</HasAttachments> <Id>1</Id> <IfsEmailDatas> <Body>sample string 4</Body> <CreatedDate>2025-08-02T14:13:09.5456248-04:00</CreatedDate> <DeletedDate>2025-08-02T14:13:09.5456248-04:00</DeletedDate> <EmailDataId>3</EmailDataId> <Id>1</Id> <UniqueBody>sample string 5</UniqueBody> <UpdatedDate>2025-08-02T14:13:09.5456248-04:00</UpdatedDate> </IfsEmailDatas> <InternatMessageId>sample string 14</InternatMessageId> <IsAttachmentSaved>true</IsAttachmentSaved> <IsCritical>true</IsCritical> <IsFollowUp>true</IsFollowUp> <IsLoggedEmail>true</IsLoggedEmail> <PointOfContactId>1</PointOfContactId> <QuoteId>1</QuoteId> <RelationalCompanyId>1</RelationalCompanyId> <Source>15</Source> <UpdatedDate>2025-08-02T14:13:09.5456248-04:00</UpdatedDate> <bodyPreview>sample string 7</bodyPreview> <conversationGUID>sample string 11</conversationGUID> <conversationId>sample string 9</conversationId> <conversationIndex>sample string 10</conversationIndex> <domain>sample string 12</domain> <importance>sample string 8</importance> <messageId>sample string 3</messageId> <receivedDateTime>2025-08-02T14:13:09.5456248-04:00</receivedDateTime> <sentDateTime>2025-08-02T14:13:09.5456248-04:00</sentDateTime> <subject>sample string 6</subject> <userID>sample string 13</userID> </LogEmailViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Id":1,"CreatedDate":"2025-08-02T14:13:09.5456248-04:00","UpdatedDate":"2025-08-02T14:13:09.5456248-04:00","DeletedDate":"2025-08-02T14:13:09.5456248-04:00","messageId":"sample string 3","receivedDateTime":"2025-08-02T14:13:09.5456248-04:00","sentDateTime":"2025-08-02T14:13:09.5456248-04:00","subject":"sample string 6","bodyPreview":"sample string 7","importance":"sample string 8","conversationId":"sample string 9","conversationIndex":"sample string 10","conversationGUID":"sample string 11","domain":"sample string 12","userID":"sample string 13","EmailRecipients":[{"EmailDataId":1,"RecipientName":"sample string 2","Emailaddress":"sample string 3","Type":4},{"EmailDataId":1,"RecipientName":"sample string 2","Emailaddress":"sample string 3","Type":4}],"CategoryId":1,"IsCritical":true,"CompanyId":1,"ContactId":1,"QuoteId":1,"InternatMessageId":"sample string 14","HasAttachments":true,"IsAttachmentSaved":true,"IfsEmailDatas":{"Id":1,"CreatedDate":"2025-08-02T14:13:09.5456248-04:00","UpdatedDate":"2025-08-02T14:13:09.5456248-04:00","DeletedDate":"2025-08-02T14:13:09.5456248-04:00","EmailDataId":3,"Body":"sample string 4","UniqueBody":"sample string 5"},"EmailBlobAttachments":[{"Id":1,"CreatedDate":"2025-08-02T14:13:09.5456248-04:00","UpdatedDate":"2025-08-02T14:13:09.5456248-04:00","DeletedDate":"2025-08-02T14:13:09.5456248-04:00","EmailDataId":3,"ContentType":"sample string 4","FileName":"sample string 5","FileSize":"sample string 6","Path":"sample string 7","IsInlineAttachment":true,"ContentId":"sample string 9","AttachmentId":10},{"Id":1,"CreatedDate":"2025-08-02T14:13:09.5456248-04:00","UpdatedDate":"2025-08-02T14:13:09.5456248-04:00","DeletedDate":"2025-08-02T14:13:09.5456248-04:00","EmailDataId":3,"ContentType":"sample string 4","FileName":"sample string 5","FileSize":"sample string 6","Path":"sample string 7","IsInlineAttachment":true,"ContentId":"sample string 9","AttachmentId":10}],"RelationalCompanyId":1,"IsLoggedEmail":true,"Source":15,"CarrierId":1,"CarrierContactId":1,"IsFollowUp":true,"FollowUpTypeId":1,"DueDateTime":"2025-08-02T14:13:09.5456248-04:00","DueStartTime":"2025-08-02T14:13:09.5456248-04:00","DueEndTime":"2025-08-02T14:13:09.5456248-04:00","ClientTimeZone":"sample string 16","PointOfContactId":1}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.