Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample of request in JSON
POST https://app.evicertia.com/api/EviMail/Submit HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX==
Host: app.evicertia.com

{
	"LookupKey":"EviMail",
	"Subject":"WS test",
	"Body":"Hola",
	"IssuerName":"ElJuanGAllego",
	"Recipient":
	{
		"LegalName":"JGM",
		"EmailAddress":"juan@gallegomolero.es"
	},
	"CarbonCopy": [
 		{
            "name": "PGG",
            "emailAddress": "pablo@garcia.com" 
        },
 		{
            "name": "JLL",
            "emailAddress": "joseluis@lozano.com" 
   		}
    ],  
	"Attachments":
	[
		{
			"UniqueId": "00000000-0000-0000-0000-000000000000",
			"CreationDate": "0001-01-01T00:00:00",
			"EvidenceUniqueId": "00000000-0000-0000-0000-000000000000",
			"DisplayName": "4kb.pdf",
			"Filename": "4kb.pdf",
			"Data": "[ATENTTION: BASE64 for PDF file would appear here]"
		}
	],
	"Options": {}
}



In case of successful sending, the identifier allocated to the evidence (eviId) that can be used later to consult its state is returned.


Example of answer in JSON



{
	"eviId": "87ffa214e7734bd59b8da8ef00fd80f8"
}



...