regis

<back to all web services

CRMDonationNoteRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/DynamicsCRM/Donation/{guid}/Note
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports regis.DynamicsCRM.Requests
Imports regis.DynamicsCRM.Responses

Namespace Global

    Namespace regis.DynamicsCRM.Requests

        Public Partial Class CRMDonationNoteRequest
            Public Overridable Property guid As String
        End Class
    End Namespace

    Namespace regis.DynamicsCRM.Responses

        Public Partial Class CRMDonationNoteResponse
            Inherits CRMNoteResponse
            Public Overridable Property first_name As String
            Public Overridable Property last_name As String
        End Class

        Public Partial Class CRMNoteResponse
            Public Overridable Property subject As String
            Public Overridable Property text As String
            Public Overridable Property owner_first_name As String
            Public Overridable Property owner_last_name As String
            Public Overridable Property file_base64 As String
            Public Overridable Property filename As String
            Public Overridable Property filesize As Integer
            Public Overridable Property mimetype As String
            Public Overridable Property added_date As Nullable(Of Date)
        End Class
    End Namespace
End Namespace

VB.NET CRMDonationNoteRequest 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 /DynamicsCRM/Donation/{guid}/Note HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	first_name: String,
	last_name: String,
	subject: String,
	text: String,
	owner_first_name: String,
	owner_last_name: String,
	file_base64: String,
	filename: String,
	filesize: 0,
	mimetype: String,
	added_date: 0001-01-01
}