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": "1e74da0f-3937-4adc-aedb-2d7975013668",
  "ParentId": "f043db0c-b13b-4e91-a216-a847934275e0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "2912100f-416d-4cce-82db-1500db6eef9d",
      "6689ef32-80a3-4d0f-8c46-ad4b93ad35fd"
    ],
    "Companies": [
      "9067c67a-c31d-4f8b-801e-b534ba14a11d",
      "1e885b2e-c38d-4f32-a04a-61a3cf5e04c0"
    ],
    "Groups": [
      "983bd250-d40e-4495-a2f6-7a4bb1e21cf8",
      "b136a775-ff94-4c08-b11b-d0bc25a3d925"
    ],
    "Opportunities": [
      "d8c1d478-e63e-48dc-8cbb-f78b23fc18b7",
      "69533524-975f-4b6b-8cc2-e8f8bb7d6269"
    ]
  }
}

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:
"b5c9cf22-f50a-4817-8bb8-cb93f1966800"