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": "c44b7860-9b99-4bc6-8c5b-4d3d1ea54905",
  "ParentId": "516c5244-f181-4cdb-af67-67016ff1563f",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "69e3e3f5-11f6-41c0-85c3-89d901607069",
      "ea231e7f-eb72-4cbb-9c11-2d507d935e6d"
    ],
    "Companies": [
      "87dbf824-85f4-46a4-a1b6-c3201394575e",
      "193314d7-7199-4c1f-986b-0981880d5197"
    ],
    "Groups": [
      "04527700-1dd8-47e7-8411-bba8331d60b9",
      "e43972aa-dbd3-4b80-9381-c371958ea760"
    ],
    "Opportunities": [
      "b806669e-e4a7-4a4a-b2d9-39034d03400e",
      "b00decc5-a8e4-4522-8f6d-15dda2f09a21"
    ]
  }
}

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:
"f2b51f2a-775e-402c-8c1c-069f9170cff3"