BctNotification

<back to all web services

SendIncompleteResubmittableFormEmail

OpenClinica
Requires Authentication
The following routes are available for this service:
POST/notification/send-incomplete-resubmittable-form-email/
namespace BctNotification.ServiceModel.Requests.Hangfire

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type EmailAddress() = 
        member val DisplayName:String = null with get,set
        member val Address:String = null with get,set

    [<AllowNullLiteral>]
    type SendIncompleteResubmittableFormEmailResponse() = 
        member val IncompleteResubmittabFormCount:Nullable<Int32> = new Nullable<Int32>() with get,set
        member val ResponseStatus:ResponseStatus = null with get,set
        member val Result:String = null with get,set
        member val Subject:String = null with get,set
        member val ToAddresses:ResizeArray<EmailAddress> = new ResizeArray<EmailAddress>() with get,set
        member val CcAddresses:ResizeArray<EmailAddress> = new ResizeArray<EmailAddress>() with get,set
        member val BccAddresses:ResizeArray<EmailAddress> = new ResizeArray<EmailAddress>() with get,set
        member val FromAddress:EmailAddress = null with get,set

    [<ApiResponse(Description="Unauthorized.", StatusCode=401)>]
    [<ApiResponse(Description="Forbidden.", StatusCode=403)>]
    [<ApiResponse(Description="Bad Request.", StatusCode=400)>]
    [<ApiResponse(Description="Internal Server Error.", StatusCode=500)>]
    [<AllowNullLiteral>]
    type SendIncompleteResubmittableFormEmail() = 
        class end

F# SendIncompleteResubmittableFormEmail DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /notification/send-incomplete-resubmittable-form-email/ HTTP/1.1 
Host: notifications.breastcancertrials.org.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	incompleteResubmittabFormCount: 0,
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	},
	result: String,
	subject: String,
	toAddresses: 
	[
		{
			displayName: String,
			address: String
		}
	],
	ccAddresses: 
	[
		{
			displayName: String,
			address: String
		}
	],
	bccAddresses: 
	[
		{
			displayName: String,
			address: String
		}
	],
	fromAddress: 
	{
		displayName: String,
		address: String
	}
}