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": "1badae07-821f-4898-9e55-e2ea8b4a17db",
  "ParentId": "09dfc917-4ab0-4407-b5b7-0a5e7673dba0",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "8164005f-d70b-443f-81ff-67b8f5cd9d71",
      "596e9107-dd60-40db-b339-a04af3f2140b"
    ],
    "Companies": [
      "fee2b24d-fd4f-4ef4-9a16-0151edb3c662",
      "aac71e6e-0d0f-479c-b03e-ef6ed6ca57c3"
    ],
    "Groups": [
      "b69eb489-984e-4b64-ba21-be244a39b9da",
      "0719662b-156c-4a35-8d2b-9a15f87d15a4"
    ],
    "Opportunities": [
      "58978af2-07d3-4b16-9d73-f300a0ce3a3a",
      "9d90a613-68d7-41a9-bba9-2dd6c5298da2"
    ]
  }
}

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:
"40d24999-59c8-49e3-81ac-55ce8613b1a0"