Skip to content

Instantly share code, notes, and snippets.

@JogoShugh
Created December 18, 2019 16:15
Show Gist options
  • Save JogoShugh/5a631d48f690f5f02c65632472346447 to your computer and use it in GitHub Desktop.
Save JogoShugh/5a631d48f690f5f02c65632472346447 to your computer and use it in GitHub Desktop.
V1 Enterprise Bulk API

Request

JSON

{
  "AssetType": "Story",
  "Scope": "Scope:0",
  "Name": "First Story"
}

YAML

AssetType: Story
Scope: Scope:0
Name: First Story

Response

{
  "assetsCreated": {
    "oidTokens": [
      "Story:1004"
    ],
    "count": 1
  },
  "assetsModified": {
    "oidTokens": [],
    "count": 0
  },
  "assetsOperatedOn": {
    "oidTokens": [],
    "count": 0
  },
  "commandFailures": {
    "commands": [],
    "count": 0
  },
  "queryResult": {
    "results": [],
    "count": -1
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment