{"info":{"_postman_id":"8bc028b7-d785-8587-844d-9bff5d140a68","name":"JustGiving - Fundraising","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"FundraisingPageUrlCheck","id":"f5dd6917-ba3d-007f-562e-9f2652fb2ef3","request":{"method":"HEAD","header":[{"key":"x-api-key","value":"{{appId}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}","description":"Checks the availability of a JustGiving page using pageShortName."},"response":[],"_postman_id":"f5dd6917-ba3d-007f-562e-9f2652fb2ef3"},{"name":"SuggestPageShortNames","id":"78c4f022-0027-e58d-5c06-617854662b78","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{url}}/v1/fundraising/pages/suggest?preferredName=jon","host":["{{url}}"],"path":["v1","fundraising","pages","suggest"],"query":[{"key":"preferredName","value":"jon"}]},"description":"Suggests a few short page names based on user preference."},"response":[],"_postman_id":"78c4f022-0027-e58d-5c06-617854662b78"},{"name":"RegisterFundraisingPage","id":"5038b3f1-90d0-85d7-3e0a-cd18045c452c","request":{"method":"PUT","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Authorization","value":"Basic {{basicAuth}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"reference\": null,\r\n  \"charityId\": 2357,\r\n  \"eventId\": 355883,\r\n  \"pageShortName\": \"my-test-pageo4ysZ1Njkku1gTzGznXM5g\",\r\n  \"pageTitle\": \"my test page title\",\r\n  \"activityType\": null,\r\n  \"targetAmount\": \"2000\",\r\n  \"justGivingOptIn\": false,\r\n  \"charityOptIn\": false,\r\n  \"eventDate\": null,\r\n  \"eventName\": null,\r\n  \"attribution\": null,\r\n  \"charityFunded\": false,\r\n  \"causeId\": null,\r\n  \"companyAppealId\": null,\r\n  \"expiryDate\": null,\r\n  \"pageStory\": \"This is my custom page story, which will override the default.\",\r\n  \"pageSummaryWhat\": null,\r\n  \"pageSummaryWhy\": null,\r\n  \"customCodes\": {},\r\n  \"theme\": {\r\n    \"pageBackground\": \"#0A0A0A\",\r\n    \"buttonsThermometerFill\": \"#FFFFFF\",\r\n    \"linesThermometerBackground\": \"#CCCCCC\"\r\n  },\r\n  \"images\": [\r\n    {\r\n      \"caption\": \"Lyr\",\r\n      \"url\": \"http://cdn.head-fi.org/5/5e/5ee30ce0_lyr-group-6401.jpg\",\r\n      \"isDefault\": true\r\n    },\r\n    {\r\n      \"caption\": \"Valhalla\",\r\n      \"url\": \"http://assets.head-fi.org/e/e4/e42e1df0_DSC02261.JPG\",\r\n      \"isDefault\": false\r\n    }\r\n  ],\r\n  \"videos\": [\r\n    {\r\n      \"caption\": \"There's nobody here\",\r\n      \"url\": \"http://www.youtube.com/watch?v=-RFunvF0mDw\"\r\n    }\r\n  ],\r\n  \"rememberedPersonReference\": {\r\n    \"relationship\": \"Other\",\r\n    \"rememberedPerson\": {\r\n      \"id\": 0,\r\n      \"firstName\": \"FirstName\",\r\n      \"lastName\": \"LastName\",\r\n      \"gender\": \"Male\",\r\n      \"town\": \"Town/City\",\r\n      \"dateOfBirth\": \"\\/Date(0+0000)\\/\",\r\n      \"dateOfDeath\": \"\\/Date(1293840000000+0000)\\/\"\r\n    }\r\n  },\r\n  \"consistentErrorResponses\": false,\r\n  \"teamId\": 1234,\r\n  \"currency\": \"GBP\"\r\n}"},"url":"{{url}}/v1/fundraising/pages","description":"Registers a Fundraising Page on the JustGiving.com website, for example www.justgiving.com/John-Vaughan-Fowler.\n\nWhen registering a page on JustGiving.com you *either* register a page for an event or an activity. If you try and register a page for an event and an activity you will get a validation error. This is a common source of errors. If you're supplying an eventId you must not supply an eventName, eventDate or activityType. If you want an event to be auto-generated for your fundraising page, you must not supply an event Id and supply eventName/eventDate/activityType instead."},"response":[],"_postman_id":"5038b3f1-90d0-85d7-3e0a-cd18045c452c"},{"name":"GetFundraisingPageDetails","id":"61d51ce9-142d-17b6-bf7f-cdac2426af36","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}","description":"Gets the details of a fundraising page."},"response":[],"_postman_id":"61d51ce9-142d-17b6-bf7f-cdac2426af36"},{"name":"GetFundraisingPages","id":"315011a7-ada0-9cf6-cd28-c0cd5ed7c9ed","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages","description":"Lists all fundraising Pages for the authenticated user."},"response":[],"_postman_id":"315011a7-ada0-9cf6-cd28-c0cd5ed7c9ed"},{"name":"GetFundraisingPageDonations","id":"ead52a22-29ef-74d0-c617-ba5e0b3f3c9e","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/donations","description":"Gets donations for a specific page.\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\"."},"response":[],"_postman_id":"ead52a22-29ef-74d0-c617-ba5e0b3f3c9e"},{"name":"GetFundraisingPageDonationsByReference","id":"d4b0c918-80cb-915c-36a0-69cd43c39aae","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/donations/ref/{thirdPartyReference}","description":"Gets donations for a specific page, filtered by third-party reference code."},"response":[],"_postman_id":"d4b0c918-80cb-915c-36a0-69cd43c39aae"},{"name":"UpdateFundraisingPage","id":"81de5a25-26b8-5515-22c2-5c38caf173b6","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":"{\r\n    \"storySupplement\": \"My Story update\"\r\n}"},"url":"{{url}}/v1/fundraising/pages/{pageShortName}","description":"Updates the existing story of a of a Fundraising Page.\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\"."},"response":[],"_postman_id":"81de5a25-26b8-5515-22c2-5c38caf173b6"},{"name":"PageUpdates","id":"137c31cb-643c-4713-bbb6-87d2d7509897","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/updates","description":"Retrieve microblog page updates."},"response":[],"_postman_id":"137c31cb-643c-4713-bbb6-87d2d7509897"},{"name":"PageUpdateById","id":"a68dd1ca-000c-c797-d31d-de8f949b2372","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/updates/{updateId}","description":"Retrieve specific microblog page update."},"response":[],"_postman_id":"a68dd1ca-000c-c797-d31d-de8f949b2372"},{"name":"PageUpdatesAddPost","id":"e8b0c4bf-bfaa-2119-9031-00701f09571c","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":"{\n    \"CreatedDate\": null,\n    \"Id\": null,\n    \"Message\": \"I'm doing very well.\",\n    \"Video\": null\n}"},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/updates","description":"Post a microblog page update"},"response":[],"_postman_id":"e8b0c4bf-bfaa-2119-9031-00701f09571c"},{"name":"DeleteFundraisingPageUpdates","id":"314555ed-df36-596e-7256-bf2e36325ce7","request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/updates/{updateId}","description":"Delete microblog page updates."},"response":[],"_postman_id":"314555ed-df36-596e-7256-bf2e36325ce7"},{"name":"DeleteFundraisingPageAttribution","id":"22869e6e-5f89-c491-a8a3-ec7536851632","request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Authorization","value":"Basic {{basicAuth}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/attribution","description":"Deletes the attribution of a of a Fundraising Page. Typically used for a list of team members.\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\"."},"response":[],"_postman_id":"22869e6e-5f89-c491-a8a3-ec7536851632"},{"name":"UpdateFundraisingPageAttribution","id":"5cc38beb-4f71-a186-6cf0-0a921ea4fb60","request":{"method":"PUT","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/attribution","description":"Replaces the attribution of a of a Fundraising Page. Typically used for a list of team members.\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\"."},"response":[],"_postman_id":"5cc38beb-4f71-a186-6cf0-0a921ea4fb60"},{"name":"AppendToFundraisingPageAttribution","id":"f929a2dd-16e9-c3cc-1c14-cf223012cc3b","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":"{\n    \"attribution\": \"Jon, Jez, Jules\"\n}"},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/attribution","description":"Appends text to the attribution of a of a Fundraising Page. Typically used for a list of team members.\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\"."},"response":[],"_postman_id":"f929a2dd-16e9-c3cc-1c14-cf223012cc3b"},{"name":"GetFundraisingPageAttribution","id":"c20649bd-99cf-7282-128e-829607991e68","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/attribution","description":"Retrieves the attribution of a of a Fundraising Page. Typically used for a list of team members."},"response":[],"_postman_id":"c20649bd-99cf-7282-128e-829607991e68"},{"name":"UploadImage","id":"0c6bb5a2-d722-a2ab-3101-a7cc5a3a7fae","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/images","description":"Adds an image to a Fundraising Page.\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\"."},"response":[],"_postman_id":"0c6bb5a2-d722-a2ab-3101-a7cc5a3a7fae"},{"name":"UploadDefaultImage","id":"a3605bf1-a7df-0439-f22b-ec5267c0ecb7","request":{"method":"POST","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/images/default","description":"Adds an image to a Fundraising Page and sets it as the default image.\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\"."},"response":[],"_postman_id":"a3605bf1-a7df-0439-f22b-ec5267c0ecb7"},{"name":"AddImageToFundraisingPage","id":"3f3ca2b7-6857-307d-5d4c-156555edf6e6","request":{"method":"PUT","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":"{\n    \"caption\": \"Hello, world!\",\n    \"isDefault\": true,\n    \"url\": \"http:\\/\\/www.antipope.org\\/charlie\\/gifs\\/shoot_kitten.jpg\"\n}"},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/images"},"response":[],"_postman_id":"3f3ca2b7-6857-307d-5d4c-156555edf6e6"},{"name":"DeleteFundraisingPageImage","id":"1a12d0c3-0862-cfb9-4ebc-a1341bfe8cb1","request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/images/{imageName}","description":"Deletes image from your fundraising page\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\". {imageName} - Would be replaced with the image name. Please provide imageName with extension followed by underscore like {imageName}_{extension}. If it is Stock image then you have to add prefix \"Stock\" - stock_{imageName}_{extension}"},"response":[],"_postman_id":"1a12d0c3-0862-cfb9-4ebc-a1341bfe8cb1"},{"name":"GetImagesForFundraisingPage","id":"51a72ca7-8118-da5e-0df1-81f986c466b2","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/images"},"response":[],"_postman_id":"51a72ca7-8118-da5e-0df1-81f986c466b2"},{"name":"AddVideoToFundraisingPage","id":"4415b4bd-ded6-dc50-9678-444422c43a45","request":{"method":"PUT","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":"{\n    \"caption\": \"Hello, world!\",\n    \"isDefault\": true,\n    \"url\": \"http:\\/\\/www.youtube.com\\/watch?v=0OXnI6wQylc\"\n}"},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/videos"},"response":[],"_postman_id":"4415b4bd-ded6-dc50-9678-444422c43a45"},{"name":"GetVideosForFundraisingPage","id":"c529af46-7110-b7a0-8f4d-ff8b719c4abc","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/videos"},"response":[],"_postman_id":"c529af46-7110-b7a0-8f4d-ff8b719c4abc"},{"name":"CancelFundraisingPage","id":"add1cd6a-4a0c-1b8d-19d1-d9599c169628","request":{"method":"DELETE","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pages/{pageShortName}","description":"Cancel your fundraising page, you have to be authenticated\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith"},"response":[],"_postman_id":"add1cd6a-4a0c-1b8d-19d1-d9599c169628"},{"name":"UpdateNotificationsPreferences","id":"1ea46125-a5e6-a053-2049-9683cdfd2e3d","request":{"method":"PUT","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":"{\n    \"donationAlerts\": true,\n    \"fundraisingTips\": true,\n    \"regularUpdates\": true\n}"},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/notifications","description":"Updates the notification preferences for the fundraising page\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\"."},"response":[],"_postman_id":"1ea46125-a5e6-a053-2049-9683cdfd2e3d"},{"name":"UpdateFundraisingPageSummary","id":"22f66764-c6da-0a51-f459-fb4b64ea6e0c","request":{"method":"PUT","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Basic {{basicAuth}}"}],"body":{"mode":"raw","raw":"{\n    \"pageSummaryWhat\": \"running a marathon\",\n    \"pageSummaryWhy\": \"I want support the work done by the charity\"\n}"},"url":"{{url}}/v1/fundraising/pages/{pageShortName}/summary","description":"Updates the fundraising page summary\n\n{pageShortName} - Would be replaced with the short page url that uniquely identifies the page to the user. This is typically their name such as \"John-Smith\"."},"response":[],"_postman_id":"22f66764-c6da-0a51-f459-fb4b64ea6e0c"},{"name":"GetFundraisingPageDetailsById","id":"1c320071-29f2-4a44-2e5f-b97aeb7e079a","request":{"method":"GET","header":[{"key":"x-api-key","value":"{{appId}}"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/v1/fundraising/pagebyid/{{pageId}}","description":"Gets the details of a fundraising page by ID."},"response":[],"_postman_id":"1c320071-29f2-4a44-2e5f-b97aeb7e079a"}]}