Add

Add a new donation keyword object.

https://app.mojotxt.com/api/v1/{phone_number}/donations/add

The FundName and Keyword parameters are required, but any Donation Object field can be included as well. You can send parameters as part of the GET querystring, or as POST data. Fields not included with your request will be ignored. To set a field to NULL, send an empty value.

Upon success, the server will return the newly created object's DonationID in the response "created_id" response field.

Example Request:

GET https://app.mojotxt.com/api/v1/+16146827117/donations/add?FundName=Test+Fund&Keyword=test

-or-

POST https://app.mojotxt.com/api/v1/+16146827117/donations/add
DATA FundName=Test Fund
     Keyword=test

Example Result:

{
"result": "success",
"timestamp": 1445941101,
"request": {
"phone": "+16146827117",
"object": "donations",
"verb": "add",
"id": "103",
"FundName": "Test Fund",
"Keyword": "test"
},
"message": "The donation object was added successfully.",
"created_id": 124
}