POST api/Opportunities

Create a new Opportunity Record.

Request Information

URI Parameters

None.

Body Parameters

The Opportunity record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json

MutableEntityExtended
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ParentId

This field will only include data when working with Group records.

globally unique identifier

None.

Fields

Dictionary of string [key] and Object [value]

None.

LinkedEntities

LinkedEntities

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "9c8dfd58-948b-412b-b013-e869eeeb4b72",
  "ParentId": "8d127146-0eeb-414b-a488-7b3159993a7d",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "35b8deb6-ae81-431d-b990-a657245d297c",
      "b80be25b-bb33-47fa-86e2-cde9dbc39fae"
    ],
    "Companies": [
      "90d3ec63-f84a-4f29-ac2e-64ed7ab45436",
      "335b2738-4d05-425a-90a9-bdb3b02358fa"
    ],
    "Groups": [
      "4eae52b8-3eb3-4127-8581-e26d9f7274ea",
      "7ea9263b-781f-4033-bab7-88439291aa9d"
    ],
    "Opportunities": [
      "fb5320c7-fabe-4782-a8b9-2d557a4283a3",
      "efd89c0b-1df7-413c-884c-cae55b9b9a0e"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

This endpoint returns the GUID of the Group record once it is created.

globally unique identifier

Response Formats

application/json, text/json

Sample:
"a3d8fecd-b4f0-4ef5-95dd-7a5e4ebb23c1"