{"info":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","description":"<html><head></head><body><p>Online Scout Manager is a highly useful set of tools provided by Online Youth Manager.</p>\n<p>With API Access, you can do so much more with your data. However, there is no documentation for the API and is provided \"as-is\". This will hopefully help bridge some of that documentation gap.</p>\n<h1 id=\"overview\">Overview</h1>\n<p><strong>This is a community documentation project and is not supported or endorsed by Online Youth Manager</strong> (the company responsible for Online Scout Manager). This doumentation is intended for use by existing OSM Customers with an API key (available on request from OYM) to enable creation of their own automated processes.</p>\n<p>This documentation project is provided as a guide to the API calls and is created by parties interested in the use of OSM API for automating workloads. If you are looking for code examples, this is not the place for them. Please visit the OSM Forum and navigate to the relevant subforum.</p>\n<p>The OSM API itself is not supported and is subject to change at any time. Please use this documentation as a guide only.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>To obtain access via API you will first need to request an API key from OSM Support. Simply login to OSM and then navigate to the forum (<a href=\"http://www.onlinescoutmanager.co.uk/forum\">www.onlinescoutmanager.co.uk/forum</a>).</p>\n<p>When you receive your API key, you will need to set up access for it in Settings &gt;&gt; External Access. If you don't allow the key access to something, its relevant API Calls will not work and won't tell you why.</p>\n<p>You will need 4 values sending with your header for all POST requests. These are:</p>\n<h4 id=\"secret-key\">Secret Key</h4>\n<p>All requests need a Secret Key. You will get this by running Authenticate User for the first time using your API Key, your API ID, your Email and your Password. </p>\n<p>The result will return your Secret Key and User ID. These will replace your Email and Password in future POST requests.</p>\n<h4 id=\"user-id\">User ID</h4>\n<p>Obtain this with your Secret Key by Authenticating User. You can also find this in OSM if you read the Members List information. It's your OSM Scout ID.</p>\n<h4 id=\"token\">Token</h4>\n<p>This is your API Key provided to you by Support.</p>\n<h4 id=\"api-id\">API ID</h4>\n<p>This is the ID for your API Key, also provided to you by Support.</p>\n<h1 id=\"gotchas\">Gotchas</h1>\n<p>When writing your automation, there are some things that we have found that would be great to pass on to you, dear developer...</p>\n<h4 id=\"white-space\">White Space</h4>\n<p>When you are using the API you might want to add little things like trimming to your calls (as the DB stores trailling white spaces to things like Scout Names).</p>\n<h4 id=\"section-ids\">Section IDs</h4>\n<p>Get your Section ID's first, maybe store them somewhere as a KV pair - it gets very annoying to try and work out your SectionID as it's needed pretty much everywhere.</p>\n<h4 id=\"osm-access\">OSM Access</h4>\n<p>Don't forget to give your API Access key the right level of access in OSM. If you have not, for instance, provided even Read Only access to Programmes then you will get a 403 error with no further information when trying to run a query. It will return 'false' to some calls.</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>There is a limit to flooding the service, set by OSM. Try to be careful with your requests.</p>\n<h1 id=\"lockout\">Lockout</h1>\n<p>If you post too many 4xx errors (it's easy to do as the interface doesn't give you much feedback) it's very possibly you will get your API key locked. Be careful and verify your parameters against those you are supposed to be sending.</p>\n<p>We are told that you will need to leave the API untouched for over 15 mins once you are blocked, any time you try to access with your key while its locked will get your block extended.</p>\n<p>Maybe go make a cup of tea and fume silently into it while you think about what might be wrong.</p>\n<h1 id=\"contribution\">Contribution</h1>\n<p>If you wish to contribute to the project, please contact the project creator.</p>\n<h1 id=\"restrictions\">Restrictions</h1>\n<p>We are currently restricted to 25 documented calls on the free version of Postman. We will have to make some hard choices what to do about this soon. Watch this space.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Gotchas","slug":"gotchas"},{"content":"Rate limit","slug":"rate-limit"},{"content":"Lockout","slug":"lockout"},{"content":"Contribution","slug":"contribution"},{"content":"Restrictions","slug":"restrictions"}],"owner":"1618329","collectionId":"1031cb4d-155b-442f-9836-12ee054d46be","publishedId":"SWTHbEzb","public":true,"customColor":{"top-bar":"4E2077","right-sidebar":"D5DAE4","highlight":"41485B"},"publishDate":"2020-02-08T11:04:28.000Z"},"item":[{"name":"Authorisation - OLD","item":[{"name":"Authorise User","id":"1b21259e-c5d5-4dc6-993e-cbc209c40ab4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>The Email Address you use to login to OSM</p>\n","key":"email","type":"text","value":"{{OSMEmailAddress}}"},{"description":"<p>Your OSM Password</p>\n","key":"password","type":"text","value":"{{OSMPassword}}"},{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"}]},"url":"{{OSMBaseURL}}/users.php?action=authorise","description":"<p>Get your UserID and Secret Key (required for accessing via API).</p>\n<p>Only need to do this once, store it in a global variable.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["users.php"],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"authorise"}],"variable":[]}},"response":[],"_postman_id":"1b21259e-c5d5-4dc6-993e-cbc209c40ab4"}],"id":"2dc196a0-efeb-4a72-b8ea-f01287d4fd43","_postman_id":"2dc196a0-efeb-4a72-b8ea-f01287d4fd43","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}},{"name":"Sections","item":[{"name":"Get Sections","id":"bd1333ca-66f4-40b3-b0e3-2588e6f5e47f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/api.php?action=getSectionConfig","description":"<p>Get a list of Sections you are authorised to view in your account</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["api.php"],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getSectionConfig"}],"variable":[]}},"response":[],"_postman_id":"bd1333ca-66f4-40b3-b0e3-2588e6f5e47f"},{"name":"Get Sections Copy","id":"62b04075-7da5-4174-9048-9f9660087fef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/api.php?action=getSectionConfig","description":"<p>Get a list of Sections you are authorised to view in your account</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["api.php"],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getSectionConfig"}],"variable":[]}},"response":[],"_postman_id":"62b04075-7da5-4174-9048-9f9660087fef"}],"id":"9f98d16c-c820-4a57-aa2e-61e180bdc05c","description":"<p>To work with Sections, you will need to store or lookup Section Data</p>\n","_postman_id":"9f98d16c-c820-4a57-aa2e-61e180bdc05c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}},{"name":"Terms","item":[{"name":"Get Terms","id":"540854e7-8421-49c7-8a89-713644bea56b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/api.php?action=getTerms","description":"<p>Get a list of Terms per Section that you are authorised to view in your account</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["api.php"],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getTerms"}],"variable":[]}},"response":[],"_postman_id":"540854e7-8421-49c7-8a89-713644bea56b"}],"id":"8e49f0bb-2fc6-42a9-9913-34f238919717","description":"<p>To navigate through records you will need to parse the list of terms</p>\n","_postman_id":"8e49f0bb-2fc6-42a9-9913-34f238919717","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}},{"name":"Programme","item":[{"name":"Get Programme Summary","id":"3a907d7a-df8b-4dd4-bf8c-f1fb60387034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/programme/?action=getProgrammeSummary&sectionid={{sectionId}}&termid={{termId}}","description":"<p>Gets the entire Programme for a term</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","programme",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getProgrammeSummary"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"sectionid","value":"{{sectionId}}"},{"description":{"content":"<p>The OSM term ID that the record exists in</p>\n","type":"text/plain"},"key":"termid","value":"{{termId}}"}],"variable":[]}},"response":[],"_postman_id":"3a907d7a-df8b-4dd4-bf8c-f1fb60387034"},{"name":"Details of meeting","id":"8924e5f9-cd17-4720-956f-b99b512c6604","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"{{OSMToken}}","type":"text"},{"key":"apiid","value":"{{OSMAPIID}}","type":"text"},{"key":"userid","value":"{{OSMUserId}}","type":"text"},{"key":"secret","value":"{{OSMSecret}}","type":"text"}]},"url":"{{OSMBaseURL}}/ext/programme/?action=getProgramme&eveningid={{eveningID}}&sectionid={{sectionId}}&termid={{termId}}","description":"<p>This returns all the data for a specific meeting</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","programme",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getProgramme"},{"key":"eveningid","value":"{{eveningID}}"},{"key":"sectionid","value":"{{sectionId}}"},{"key":"termid","value":"{{termId}}"}],"variable":[]}},"response":[],"_postman_id":"8924e5f9-cd17-4720-956f-b99b512c6604"}],"id":"ce68201c-207e-4bd4-9591-8a1f82a462e4","_postman_id":"ce68201c-207e-4bd4-9591-8a1f82a462e4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}},{"name":"Events","item":[{"name":"Get Events Summary","id":"3a16853c-7615-4ba5-bc67-5a7146ec2c26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/events/summary/?action=get&sectionid={{sectionId}}&termid={{termId}}","description":"<p>Gets the entire list of Events for a term</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","events","summary",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"get"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"sectionid","value":"{{sectionId}}"},{"description":{"content":"<p>The OSM term ID that the record exists in</p>\n","type":"text/plain"},"key":"termid","value":"{{termId}}"}],"variable":[]}},"response":[],"_postman_id":"3a16853c-7615-4ba5-bc67-5a7146ec2c26"}],"id":"5af65677-b17d-4610-9a89-d0024c49861d","_postman_id":"5af65677-b17d-4610-9a89-d0024c49861d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}},{"name":"Members","item":[{"name":"Get Members","id":"499f4728-0494-45c8-9cd2-7b41ce912efa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/members/contact/?action=getListOfMembers&sectionid={{sectionId}}&termid={{termId}}","description":"<p>Gets a list of Members in a section during a specific term</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","members","contact",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getListOfMembers"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"sectionid","value":"{{sectionId}}"},{"description":{"content":"<p>The OSM term ID that the record exists in</p>\n","type":"text/plain"},"key":"termid","value":"{{termId}}"}],"variable":[]}},"response":[],"_postman_id":"499f4728-0494-45c8-9cd2-7b41ce912efa"},{"name":"New Member","id":"d553185f-a06b-4f4e-9670-e0b915df3005","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":" application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"firstname","value":" ","type":"text","description":"<p>The Scouts Firstname</p>\n"},{"key":"lastname","value":" ","type":"text","description":"<p>The Scouts Surname</p>\n"},{"key":"dob","value":"","type":"text","description":"<p>The Date of Birth of the Scout (in the format yyyy-mm-dd)</p>\n"},{"key":"started","value":"","type":"text","description":"<p>The start date of the Scout (in the format yyyy-mm-dd)</p>\n"},{"key":"sectionid","value":"{{sectionId}}","type":"text","description":"<p>The OSM ID of the section that contains the record</p>\n"},{"key":"secret","value":"{{OSMSecret}}","type":"text","description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n"},{"key":"userid","value":"{{OSMUserId}}","type":"text","description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n"},{"key":"apiid","value":"{{OSMAPIID}}","type":"text","description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n"},{"key":"token","value":"{{OSMToken}}","type":"text","description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n"}]},"url":"https://www.onlinescoutmanager.co.uk/ext/members/contact/actions/?action=newMember","description":"<p>Use this to add a member to a section</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"protocol":"https","path":["ext","members","contact","actions",""],"host":["www","onlinescoutmanager","co","uk"],"query":[{"key":"action","value":"newMember"}],"variable":[]}},"response":[],"_postman_id":"d553185f-a06b-4f4e-9670-e0b915df3005"},{"name":"New Member Copy","id":"dec22aca-df49-445c-9b8f-48b8d8f7c20f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":" application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"firstname","value":" ","type":"text","description":"<p>The Scouts Firstname</p>\n"},{"key":"lastname","value":" ","type":"text","description":"<p>The Scouts Surname</p>\n"},{"key":"dob","value":"","type":"text","description":"<p>The Date of Birth of the Scout (in the format yyyy-mm-dd)</p>\n"},{"key":"started","value":"","type":"text","description":"<p>The start date of the Scout (in the format yyyy-mm-dd)</p>\n"},{"key":"sectionid","value":"{{sectionId}}","type":"text","description":"<p>The OSM ID of the section that contains the record</p>\n"},{"key":"secret","value":"{{OSMSecret}}","type":"text","description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n"},{"key":"userid","value":"{{OSMUserId}}","type":"text","description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n"},{"key":"apiid","value":"{{OSMAPIID}}","type":"text","description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n"},{"key":"token","value":"{{OSMToken}}","type":"text","description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n"}]},"url":"https://www.onlinescoutmanager.co.uk/ext/members/contact/actions/?action=newMember","description":"<p>Use this to add a member to a section</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"protocol":"https","path":["ext","members","contact","actions",""],"host":["www","onlinescoutmanager","co","uk"],"query":[{"key":"action","value":"newMember"}],"variable":[]}},"response":[],"_postman_id":"dec22aca-df49-445c-9b8f-48b8d8f7c20f"},{"name":"Attendance records","id":"b49743bd-2645-455d-885b-f9e98eb9cded","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"{{OSMToken}}","type":"text"},{"key":"apiid","value":"{{OSMAPIID}}","type":"text"},{"key":"userid","value":"{{OSMUserId}}","type":"text"},{"key":"secret","value":"{{OSMSecret}}","type":"text"}]},"url":"{{OSMBaseURL}}/ext/members/attendance/?action=get&sectionid={{sectionId}}&termid={{termId}}&section={{sectionName}}","description":"<p>This provides details of OSM's attendance record</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","members","attendance",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"get"},{"key":"sectionid","value":"{{sectionId}}"},{"key":"termid","value":"{{termId}}"},{"key":"section","value":"{{sectionName}}"}],"variable":[]}},"response":[],"_postman_id":"b49743bd-2645-455d-885b-f9e98eb9cded"}],"id":"ea5587b2-919c-45d6-90a9-2cabdd6da8f3","_postman_id":"ea5587b2-919c-45d6-90a9-2cabdd6da8f3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}},{"name":"Badge Records","item":[{"name":"Get Due Badges","id":"e42b4abc-66f2-409c-8f13-2703f1dd1e60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/badges/due/?action=get&section={{sectionName}}&sectionid={{sectionId}}&termid={{termId}}","description":"<p>Get all Badges due to be given out to a Section</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","badges","due",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"get"},{"description":{"content":"<p>The name of the section (cubs, scouts, beavers, waiting)</p>\n","type":"text/plain"},"key":"section","value":"{{sectionName}}"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"sectionid","value":"{{sectionId}}"},{"description":{"content":"<p>The OSM term ID that the record exists in</p>\n","type":"text/plain"},"key":"termid","value":"{{termId}}"}],"variable":[]}},"response":[],"_postman_id":"e42b4abc-66f2-409c-8f13-2703f1dd1e60"},{"name":"Get Badges by Member","id":"4afac550-7725-42da-9f86-d6db5ff8b686","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/badges/badgesbyperson/?action=loadBadgesByMember&section={{sectionName}}&sectionid={{sectionId}}&term_id={{termId}}","description":"<p>Gets a full list of each members badge record, including the status (progress) towards achieving that badge</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","badges","badgesbyperson",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"loadBadgesByMember"},{"description":{"content":"<p>The name of the section (cubs, scouts, beavers, waiting)</p>\n","type":"text/plain"},"key":"section","value":"{{sectionName}}"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"sectionid","value":"{{sectionId}}"},{"description":{"content":"<p>The OSM term ID that the record exists in</p>\n","type":"text/plain"},"key":"term_id","value":"{{termId}}"}],"variable":[]}},"response":[],"_postman_id":"4afac550-7725-42da-9f86-d6db5ff8b686"},{"name":"Get Badge Stock","id":"72904e1a-cdb6-4847-ac6d-d0466aa8ea21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/badges/stock/?action=getBadgeStock&section={{sectionName}}&section_id={{sectionId}}&term_id={{termId}}&seeIfShared=y","description":"<p>Gets the current Badge Stock Levels</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","badges","stock",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getBadgeStock"},{"description":{"content":"<p>The name of the section (cubs, scouts, beavers, waiting)</p>\n","type":"text/plain"},"key":"section","value":"{{sectionName}}"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"section_id","value":"{{sectionId}}"},{"description":{"content":"<p>The OSM term ID that the record exists in</p>\n","type":"text/plain"},"key":"term_id","value":"{{termId}}"},{"description":{"content":"<p>Include details of what badge stocks are shared</p>\n","type":"text/plain"},"key":"seeIfShared","value":"y"}],"variable":[]}},"response":[],"_postman_id":"72904e1a-cdb6-4847-ac6d-d0466aa8ea21"},{"name":"Get Badge Report","id":"f97f09e2-6e86-468a-87b5-be5dc953f71b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/badges/report/?action=printReport&section={{sectionName}}&section_id={{sectionId}}&startdate={{startDate}}&enddate={{endDate}}","description":"<p>Initiates the creation of a PDF report of all Badge Activity over a timespan</p>\n<p>Output looks to be a Base64 Blob of the PDF document</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","badges","report",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"printReport"},{"description":{"content":"<p>The name of the section (cubs, scouts, beavers, waiting)</p>\n","type":"text/plain"},"key":"section","value":"{{sectionName}}"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"section_id","value":"{{sectionId}}"},{"description":{"content":"<p>Starting Date for the report in the format yyyy-mm-dd</p>\n","type":"text/plain"},"key":"startdate","value":"{{startDate}}"},{"description":{"content":"<p>Ending Date for the report in the format yyyy-mm-dd</p>\n","type":"text/plain"},"key":"enddate","value":"{{endDate}}"}],"variable":[]}},"response":[],"_postman_id":"f97f09e2-6e86-468a-87b5-be5dc953f71b"},{"name":"Get Badge Requirements","id":"3a0e14fa-03b5-4a62-a1b0-5624b9ff818a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/badges/records/?action=getBadgeStructureByType&section={{sectionName}}&type_id={{badgeTypeId}}&term_id={{termId}}&section_id={{sectionId}}","description":"<p>Gets a list of all Badges and requirements of a badge type</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","badges","records",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getBadgeStructureByType"},{"description":{"content":"<p>The name of the section (cubs, scouts, beavers, waiting)</p>\n","type":"text/plain"},"key":"section","value":"{{sectionName}}"},{"description":{"content":"<p>The Badge Type ID (1 = Challenge, 2  = Activity, 3 = Staged, 4 = Core)</p>\n","type":"text/plain"},"key":"type_id","value":"{{badgeTypeId}}"},{"description":{"content":"<p>The OSM term ID that the record exists in</p>\n","type":"text/plain"},"key":"term_id","value":"{{termId}}"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"section_id","value":"{{sectionId}}"}],"variable":[]}},"response":[],"_postman_id":"3a0e14fa-03b5-4a62-a1b0-5624b9ff818a"}],"id":"6942d26e-7fc7-4a4a-b4dc-307e9a9d134d","_postman_id":"6942d26e-7fc7-4a4a-b4dc-307e9a9d134d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}},{"name":"Flexi Records","item":[{"name":"Get Flexi Records","id":"48a7158b-db1c-431f-b881-d8063adfff4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"token","value":"{{OSMToken}}","description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","type":"text"},{"key":"apiid","value":"{{OSMAPIID}}","description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","type":"text"},{"key":"userid","value":"{{OSMUserId}}","description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","type":"text"},{"key":"secret","value":"{{OSMSecret}}","description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","type":"text"}]},"url":"{{OSMBaseURL}}/ext/members/flexirecords/?action=getFlexiRecords&archived=n&sectionid={{sectionId}}","description":"<p>Get all Flexi Records for a Section</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","members","flexirecords",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getFlexiRecords"},{"description":{"content":"<p>Do you want to view Archived or Live Records</p>\n","type":"text/plain"},"key":"archived","value":"n"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"sectionid","value":"{{sectionId}}"}],"variable":[]}},"response":[],"_postman_id":"48a7158b-db1c-431f-b881-d8063adfff4b"},{"name":"Update a Flexi Record","id":"9df613be-ff9c-430b-b4a5-c87f998b6c80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key</p>\n","key":"token","type":"text","value":"{{OSMAPIKey}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"},{"description":"<p>The ID of the Flexi Record</p>\n","key":"extraid","type":"text","value":"{{flexiRecordId}}"},{"description":"<p>The OSM term ID that the record exists in</p>\n","key":"termId","type":"text","value":"{{termId}}"},{"description":"<p>The name of the section (cubs, scouts, beavers, waiting)</p>\n","key":"section","type":"text","value":"{{sectionName}}"},{"description":"<p>The OSM ID of the section that contains the record</p>\n","key":"sectionId","type":"text","value":"{{sectionId}}"},{"description":"<p>The OSM ID for the Scout</p>\n","key":"scoutid","type":"text","value":"{{scoutId}}"},{"description":"<p>The Column to update for the Scout (in format \"f_1\", \"f_2\")</p>\n","key":"column","type":"text","value":"{{flexiRecordColumn}}"},{"description":"<p>The Value to update on the record</p>\n","key":"value","type":"text","value":"10"}]},"url":"{{OSMBaseURL}}/ext/members/flexirecords/?action=updateScout&nototal","description":"<p>Update a value in a specific Flexi Record</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","members","flexirecords",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"updateScout"},{"description":{"content":"<p>Tells the API not to generate totals</p>\n","type":"text/plain"},"key":"nototal","value":null}],"variable":[]}},"response":[],"_postman_id":"9df613be-ff9c-430b-b4a5-c87f998b6c80"},{"name":"Get a Flexi Record","id":"73e34522-c04e-4cc5-9c9c-bd8b29d0fc8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/members/flexirecords/?action=getData&extraid={{flexiRecordId}}&sectionid={{sectionId}}&termid={{termId}}&section={{sectionName}}&nototal","description":"<p>Get the detail for a specific Flexi Record during a specified term</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","members","flexirecords",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getData"},{"description":{"content":"<p>The ID of the Flexi Record</p>\n","type":"text/plain"},"key":"extraid","value":"{{flexiRecordId}}"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"sectionid","value":"{{sectionId}}"},{"description":{"content":"<p>The OSM term ID that the record exists in</p>\n","type":"text/plain"},"key":"termid","value":"{{termId}}"},{"description":{"content":"<p>The name of the section (cubs, scouts, beavers, waiting)</p>\n","type":"text/plain"},"key":"section","value":"{{sectionName}}"},{"key":"nototal","value":null}],"variable":[]}},"response":[],"_postman_id":"73e34522-c04e-4cc5-9c9c-bd8b29d0fc8a"}],"id":"e0a78649-278e-4395-a3aa-d1305bec5af5","_postman_id":"e0a78649-278e-4395-a3aa-d1305bec5af5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}},{"name":"Patrols","item":[{"name":"Get Lodges/Patrols/Sixes","id":"0aeb8285-a6a1-4b2c-abce-ca6902963909","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"}]},"url":"{{OSMBaseURL}}/ext/members/patrols/?action=getPatrolsWithPeople&sectionid={{sectionId}}&termid={{termId}}","description":"<p>Gets a list of all Lodges/Sixes/Patrols in your Section</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","members","patrols",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"getPatrolsWithPeople"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"sectionid","value":"{{sectionId}}"},{"description":{"content":"<p>The OSM term ID that the record exists in</p>\n","type":"text/plain"},"key":"termid","value":"{{termId}}"}],"variable":[]}},"response":[],"_postman_id":"0aeb8285-a6a1-4b2c-abce-ca6902963909"},{"name":"Update Patrol Points","id":"936143be-b547-41aa-897e-407c6d229c80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Your OSM API Key (Given to you by OSM Support)</p>\n","key":"token","type":"text","value":"{{OSMToken}}"},{"description":"<p>Your OSM API ID (Given to you by OSM Support)</p>\n","key":"apiid","type":"text","value":"{{OSMAPIID}}"},{"description":"<p>Your OSM UserId (Get this with a call to Authorise User)</p>\n","key":"userid","type":"text","value":"{{OSMUserId}}"},{"description":"<p>Your OSM Secret (Get this with a call to Authorise User)</p>\n","key":"secret","type":"text","value":"{{OSMSecret}}"},{"description":"<p>The OSM ID of the lodge/six/patrol</p>\n","key":"patrolid","type":"text","value":"{{patrolId}}"},{"key":"points","type":"text","value":"20"}]},"url":"{{OSMBaseURL}}/ext/members/patrols/?action=updatePatrolPoints&sectionid={{sectionId}}","description":"<p>Updates the points for a Lodge/Six/Patrol in your Section</p>\n<p>#NeedsWork</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}},"urlObject":{"path":["ext","members","patrols",""],"host":["{{OSMBaseURL}}"],"query":[{"key":"action","value":"updatePatrolPoints"},{"description":{"content":"<p>The OSM ID of the section that contains the record</p>\n","type":"text/plain"},"key":"sectionid","value":"{{sectionId}}"}],"variable":[]}},"response":[],"_postman_id":"936143be-b547-41aa-897e-407c6d229c80"}],"id":"2a6f4d26-e476-4de2-acbc-0581b3f2dbf1","_postman_id":"2a6f4d26-e476-4de2-acbc-0581b3f2dbf1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}},{"name":"Authorisation - with OAuth","item":[],"id":"cb0187a9-25fe-4db9-b563-f5da32afec26","_postman_id":"cb0187a9-25fe-4db9-b563-f5da32afec26","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"1031cb4d-155b-442f-9836-12ee054d46be","id":"1031cb4d-155b-442f-9836-12ee054d46be","name":"Online Scout Manager","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"cd318576-b616-40d4-af55-cf3f3129d2af","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"fa4c35fe-bc3e-4667-9a73-768c9799c10d","type":"text/javascript","exec":[""]}}]}