LogoLogo
SupportServer Hosting
  • Sonoran CMS
  • 📱Download the App
  • Other Products
    • 🖥️ FiveM Hosting
    • ⌨️ Sonoran CAD
    • 📡Sonoran Radio
  • Why choose Sonoran CMS?
    • 🏆Why Choose Sonoran CMS?
  • Tutorials
    • Getting Started
      • Account Registration
      • Community Registration
      • Inviting Users
      • Troubleshooting
    • User Management
      • Creating Ranks
      • Setting User Ranks
      • Community Profile
      • Creating Rosters
    • Community Website
      • Website Builder
      • Toolbar Customization
      • Forums
      • Image Gallery
      • Navigation Permissions
    • Customization
      • Community Branding and Settings
      • Custom Domain / Vanity URL
      • Profile Fields
    • Calendar Events
    • Drive & Documents
    • Forms and Applications
      • Creating Forms
      • Form Submissions
      • Clock In/Out System
    • Administrative
      • Archive Community Member
      • Delete & Transfer Community
      • Delete User Account
      • View Your Limits
      • Growth and Discovery
        • Growth Panel
        • Discovery
      • Security Center
        • Account Flags
        • Logging Center
      • Disciplinary Panel
      • URL Shortener
  • Integration Capabilities
    • Sonoran CAD Sync
    • Sonoran Radio Sync
    • Discord Bot Integration
    • TeamSpeak 3 Role Sync
      • Getting Started
      • Adding Ranks
      • Adding your TeamSpeak UID
    • Discord Rich Presence
    • Discord Webhooks
    • FiveM Game Panel
      • Installation
      • QBCore & Qbox Panel
        • Dashboard
        • Players
        • Vehicles
        • Whitelist
        • Logs
        • Resources
        • Aces & Principals
        • Characters
        • Items
        • Jobs
        • Gangs
        • Job Sync
        • Environment
      • vMenu Panel
        • Dashboard
        • Players
        • Vehicles
        • Environment
        • Whitelist
        • Logs
        • Resources
        • Aces & Principals
    • Sonoran Shield
    • In-Game Integration Resources
      • FiveM Installation
        • FiveM Installation - Next Steps
        • FiveM Submodules
          • Clock In
          • Ace Permission Sync
          • Whitelist
          • Job Sync
      • Minecraft Integrations
        • Minecraft Resource Installation
        • Available Resources
          • Whitelist
      • Roblox Integrations
        • Roblox Resource Installation
        • Available Resources
          • Whitelist
      • IP Whitelisting
  • Developer API Documentation
    • 📖API Integration
      • Getting Started
        • Retrieving Your Credentials
        • API ID System
      • Push Events
        • Account Updated
        • Account Kicked
        • Account Banned
      • API Endpoints
        • General
          • Get Sub Version
          • Check Com API ID
          • Get Com Account
          • Get Current Clock In
          • Get Accounts
          • Get Departments
          • Get Profile Fields
          • Get Account Ranks
          • Set Account Ranks
          • Clock In Out
          • Kick Account
          • Ban Account
          • Edit Account Profile Fields
        • Servers
          • Get Game Servers
          • Set Game Servers
          • Verify Whitelist
          • Full Whitelist
        • Events
          • RSVP
        • Rosters
          • Get Roster Contents
        • Disciplinary
          • Get Member Points
          • Get Member Records
          • Add Member Record
          • Update Member Record Points
          • Update Member Record Reason
    • 🌎Translation Support
  • Roadmap
    • 📋Changelog
  • Other
    • Sonoran CMS
    • AI QA
    • Contact Us
    • Policy
      • Terms of Service
      • Privacy Policy
      • Refund and Purchase Policy
      • Promotions
        • 03/10/25-03/17/25 Suggestions
  • Pricing
    • Pricing FAQ
      • Branding Removal
      • Military and First Responder Discount
      • Expert Installation
      • Free Plugin Installation and Discount - Sonoran Servers
      • Accessing the Payment Center
      • Create and Manage a Subscription
      • Request Discord Role
    • View and Compare Plans
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Developer API Documentation
  2. API Integration
  3. API Endpoints
  4. Rosters

Get Roster Contents

This endpoint allows you to get a community columns and rows with pagination.

Get Roster Contents

POST https://api.sonorancms.com/rosters/get

Get a Sonoran CMS community roster contents by ID & pagination.

Request Body

Name
Type
Description

id*

string

Community ID

key*

string

API Key

type*

string

GET_ROSTER_CONTENTS

data*

array

Object

{
  "rows": [
    {
      "uuid": "d5663516-ee35-11e9-9714-5600023b2434",
      "entryId": 1,
      "sortPower": 0,
      "type": 0,
      "overrideColumns": [],
      "1a76a820-c97f-4756-8254-0f2514f748a4": "235947056630333440",
      "f4cf4bf7-b4f8-41e9-8b60-7f5513b07e46": "Test Account Name",
      "2809b5c5-84c1-412b-bfde-ac70bf9ed8d4": {
        "label": "Community Lead",
        "id": "e88236cb-2af0-4d68-b5f5-aa2058ba8427"
      },
      "57fd7d49-c2b4-4afa-89b0-a6136d9679a9": {
        "label": "456",
        "value": "4a761370-b78e-4639-8891-741bdda19b8b"
      },
      "5bc02f25-3376-4897-b1c4-200d2559095a": {
        "uuid": "4ed5bc6d-e139-4336-9390-6f2851f623ab",
        "color": "#119913",
        "label": "Active"
      },
      "e354b1b4-4c50-474c-bf3f-7f293ed5a825": "22/05/24",
      "6fb54c8f-6a00-4f3e-94e4-3b3baf021649": "0:00"
    }
  ],
  "total": 1,
  "skip": 0,
  "limit": 10,
  "columns": [
    {
      "type": "Community ID",
      "align": "left",
      "field": "1a76a820-c97f-4756-8254-0f2514f748a4",
      "label": "Member ID",
      "style": {
        "cosmetic": {
          "font": null,
          "align": "center",
          "color": "#313131",
          "textColor": null
        },
        "formattedStyles": []
      },
      "options": [],
      "cosmetic": {
        "font": null,
        "align": "center",
        "color": "#313131",
        "textColor": null
      },
      "metadata": {
        "modHidden": false,
        "rankBased": [],
        "adminHidden": false
      },
      "reverseMask": false
    }
    ...,
  ]
}
INVALID API KEY
INVALID COMMUNITY ID
ROSTER NOT FOUND
{
    "id": "YOUR_COMMUNITY_ID",
    "key": "YOUR_API_KEY",
    "type": "GET_ROSTER_CONTENTS",
    "data": {
        "rosterId": NUMBER_ID,
        "skip": NUMBER_OF_ROWS_TO_SKIP,
        "limit": NUMBER_OF_ROWS_TO_FETCH, // Max. Limit 50
    }
}
PreviousRostersNextDisciplinary

Last updated 6 months ago

Was this helpful?

📖