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": "dac32f6d-68bf-41c6-aa5e-90bf6ba545ac",
  "ParentId": "d5db8741-e043-4736-8bf1-f2816b70728a",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "80069553-deea-4ebc-9bdb-baeef901303b",
      "46d2ab0e-4cd1-4c5f-aa6e-cffe7185badf"
    ],
    "Companies": [
      "33a43176-9bf4-45a7-8d9d-4f0aae861c54",
      "f13ccfc4-4652-467a-8e2a-691448943bbc"
    ],
    "Groups": [
      "68d5a54f-058d-49c1-833f-56809e2a6f63",
      "3f6964a5-c81a-4993-a367-1b1cb793063c"
    ],
    "Opportunities": [
      "f978e44f-ea74-4d0f-807f-3653e4d044b1",
      "19b8692e-7860-4693-8d77-14ed74e01710"
    ]
  }
}

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:
"67eb2e6b-c6a5-4eaf-ae4a-da0d11c43953"