Copy
Sample:
{
"subject": "sample string 1",
"body": "sample string 2",
"internalHistory": true,
"clientHistory": true,
"vendorHistory": true,
"recipients": [
"sample string 1",
"sample string 2"
],
"attachmentIds": [
1,
2
],
"clientVisibility": true,
"vendorVisibility": true
}
Copy
Sample:
<EmailInsertViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fmPilot.API.Internal.Models">
<AttachmentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</AttachmentIds>
<Body>sample string 2</Body>
<ClientHistory>true</ClientHistory>
<ClientVisibility>true</ClientVisibility>
<InternalHistory>true</InternalHistory>
<Recipients xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Recipients>
<Subject>sample string 1</Subject>
<VendorHistory>true</VendorHistory>
<VendorVisibility>true</VendorVisibility>
</EmailInsertViewModel>