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": "4bdf2735-afd2-420f-9ecf-cdd72e3cffcb",
  "ParentId": "98caa450-5650-4c41-8104-5099db9cbaf8",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "fde8dae3-0aef-4c28-a427-a79e0b7030c4",
      "e555da38-4c99-4aec-8e3d-3c8cdd97cabd"
    ],
    "Companies": [
      "6e74309f-46af-4785-988f-308b24e71652",
      "e5f7032b-6aea-493c-8ec4-b640cd8963f3"
    ],
    "Groups": [
      "f9174447-c919-4817-b060-25b0d9bfe3f8",
      "c68cbbdc-4696-4122-9345-3a929edc2420"
    ],
    "Opportunities": [
      "e6b47c61-da00-4209-9676-1cb6f6a1b391",
      "5e40ce25-01c1-4d1f-acd0-4590c46cf755"
    ]
  }
}

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:
"de02d045-79a9-4798-9c59-2d869bf566cb"