Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

For Dev Environment

  • Base URL: https://dev67343.service-now.com

  • username: INT_AGILE_USER_1000

  • Password: empyra@12#

  • client_id: ad549d9128433010861e34c18e629163

  • client_secret: S+y)oLLa^.

Epic APis

Sl No

Entity

Method

Description

URL

Body

Response

1

Login

POST

Login to get the token

{{base_url}}/oauth_token.do

2

Epic

GET

Read epics from the ServiceNow

{{base_url}}/api/now/table/rm_epic

3

Epic

POST

Create Epic in ServiceNow

{{base_url}}/api/now/table/rm_epic

{
    "short_description":"postman-epic-1",
    "description":"postman-epic-desc-1"
}

short_description = Name of the epic

description= Description of the epic

Response Code: 201

JSON Response: details of created epic

4

Epic

PUT

Update epic

{{base_url}}/api/now/table/rm_epic/{{record sys_id}}

For example:

{{base_url}}/api/now/table/rm_epic/74df0c2f2f533010c4b04f2e2c99b6f0

{
    "short_description":"postman-epic-1000",
    "description":"postman-epic-desc-1000"
}

Response Code: 200

JSON Response: details of created epic

5

Epic

DELETE

Delete Epic

{{base_url}}/api/now/table/rm_epic/{{record sys_id}}

Example: {{base_url}}/api/now/table/rm_epic/74df0c2f2f533010c4b04f2e2c99b6f0

Response Code: 204

JSON Response: Empty

Story Apis

Sl No

Entity

Method

Description

URL

Body

Response

1

Story

GET

Get the list of Stories

{{base_url}}/api/now/table/rm_story

Example: https://dev67343.service-now.com/api/now/table/rm_story

Response Code: 200

JSON Response: json response with list of stories

2

Story

POST

Create Story in ServiceNow

{{base_url}}/api/now/table/rm_story

Example: https://dev67343.service-now.com/api/now/table/rm_story

Response Code: 201

JSON Response: details of created epic

3

Story

PUT

Update Story in ServiceNow

{
    "short_description":"postman-story-10001",
    "description":"postman-story-desc-10001"
}

Response Code: 200

JSON Response: details of created story

4

Story

DELETE

Delete story

{{base_url}}/api/now/table/rm_story/335c1c672f173010c4b04f2e2c99b6f6

Example:

https://dev67343.service-now.com/api/now/table/rm_story/335c1c672f173010c4b04f2e2c99b6f6

Response Code: 204

JSON Response: Empty

  • No labels