regis

<back to all web services

CRMTaxReceiptUpdateRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/DynamicsCRM/TaxReceipt/{guid}/Update
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 CRMTaxReceiptUpdateRequest
            Public Overridable Property guid As String
            Public Overridable Property email_sent_date As Nullable(Of Date)
            Public Overridable Property email_sent_to As String
        End Class
    End Namespace

    Namespace regis.DynamicsCRM.Responses

        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

        Public Partial Class CRMTaxReceiptNoteResponse
            Inherits CRMNoteResponse
            Public Overridable Property guid As String
            Public Overridable Property receipt_template_name As String
            Public Overridable Property receipt_sent_date As Nullable(Of Date)
            Public Overridable Property receipt_email_sent_date As Nullable(Of Date)
            Public Overridable Property receipt_email_sent_to As String
            Public Overridable Property salutation As String
            Public Overridable Property first_name As String
            Public Overridable Property last_name As String
            Public Overridable Property receipt_email As String
        End Class
    End Namespace
End Namespace

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

{
	guid: String,
	email_sent_date: 0001-01-01,
	email_sent_to: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	guid: String,
	receipt_template_name: String,
	receipt_sent_date: 0001-01-01,
	receipt_email_sent_date: 0001-01-01,
	receipt_email_sent_to: String,
	salutation: String,
	first_name: String,
	last_name: String,
	receipt_email: 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
}