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": "de4fdf6b-fe34-4f21-95ed-0590fe68f841",
  "ParentId": "c933412a-a1d7-47b6-8723-9433e143b720",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "1d593a39-796d-4eca-a585-e50712e8d5e1",
      "0c142580-f164-46b7-84ec-5c7ebac696d7"
    ],
    "Companies": [
      "c25b209c-c837-412c-b8d6-a227c84780bd",
      "fec00c9a-4344-4013-bceb-0613fb7fd41c"
    ],
    "Groups": [
      "60757e27-724a-4bd0-af51-fa81342c3285",
      "f3b72fa4-e0aa-4435-8ade-8aa42f1f12e6"
    ],
    "Opportunities": [
      "1900568a-4d6d-449b-9b5d-b36475a94d27",
      "96426941-e9c3-4700-881d-846d3275a506"
    ]
  }
}

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:
"5737fa48-17eb-48d0-87a1-52405aea2b16"