PUT associations({associationId})/events/registrations({registrationId})
Method to put information about a registration. Right now it is just for payment.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
associationId | Association of interest |
Define this parameter in the request URI. |
registrationId | Registration to add information to |
Define this parameter in the request URI. |
registration | New information |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Amount": 1.0, "BillingStatus": 1, "Email": "sample string 1", "EmailTransaction": true, "Id": 2, "PaymentType": 64, "Reference": "sample string 3", "Comments": "sample string 4", "InvoiceId": "sample string 5", "InvoiceBalance": 1.0, "ReceiptId": "sample string 6" }
application/xml, text/xml
Sample:
<EventRegistrationResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <Amount>1</Amount> <BillingStatus>1</BillingStatus> <Comments>sample string 4</Comments> <Email>sample string 1</Email> <EmailTransaction>true</EmailTransaction> <Id>2</Id> <InvoiceBalance>1</InvoiceBalance> <InvoiceId>sample string 5</InvoiceId> <PaymentType>64</PaymentType> <ReceiptId>sample string 6</ReceiptId> <Reference>sample string 3</Reference> </EventRegistrationResource>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Added information
Response body formats
application/json, text/json
Sample:
{ "Amount": 1.0, "BillingStatus": 1, "Email": "sample string 1", "EmailTransaction": true, "Id": 2, "PaymentType": 64, "Reference": "sample string 3", "Comments": "sample string 4", "InvoiceId": "sample string 5", "InvoiceBalance": 1.0, "ReceiptId": "sample string 6" }
application/xml, text/xml
Sample:
<EventRegistrationResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <Amount>1</Amount> <BillingStatus>1</BillingStatus> <Comments>sample string 4</Comments> <Email>sample string 1</Email> <EmailTransaction>true</EmailTransaction> <Id>2</Id> <InvoiceBalance>1</InvoiceBalance> <InvoiceId>sample string 5</InvoiceId> <PaymentType>64</PaymentType> <ReceiptId>sample string 6</ReceiptId> <Reference>sample string 3</Reference> </EventRegistrationResource>