• Home
  • Resources
  • Objects
  • Guide
    • What is an API
    • Creating an app
    • Using the API
    • Troubleshooting
    • Login
    • IQL query language
    • API Playground
    • Get started
    • Error messages
    • Access scopes
    • Introduction to general concepts
  • Home>
  • Resources>
  • initiatives/ideas/(id)/comments/post

POST initiatives/ideas/(id)/comments/post

Submit a new comment

Resource information

Request method POST
Response object Comment
Access scope initiative_get
Response format JSON, XML

Example

https://api.induct.no/v1/12345/initiatives/ideas/342/comments/

Post data

{
    "text": "I think this is a great idea"
}
JSON result:
{
    "id": 13,
    "createdAt": "2013-01-10T13:35:44.3806244Z",
    "text": "I think this is a great idea!",
    "user": {
        "id": 1,
        "uri": "http://api.induct.no/v1/12345/users/1",
        "firstName": "Jane",
        "lastName": "Doe",
        "firstNameLastName": "Jane Doe"
    }
}

Induct API 1.0

Last API system update:
11/23/2020 8:43:56 AM

↑ Back to top

© Induct Software AS