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": "2af6c8a8-555d-4ebd-ac7a-7e289da1c858",
  "ParentId": "66ff4876-9d3b-4eec-a3a5-a2929b71fe4e",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "d0c6e80b-ec76-4026-b4c8-316b043cd37c",
      "80f963ac-fd62-4442-a0be-9b503ef1a241"
    ],
    "Companies": [
      "09003824-9867-461a-87db-1c96c09283e8",
      "dc0da62c-898c-46f0-8c79-eebda1aa87df"
    ],
    "Groups": [
      "023fdb85-d15b-495d-8452-00195dda9505",
      "01568e83-cc58-42ed-9313-25195621acc1"
    ],
    "Opportunities": [
      "3f5be6e6-6e34-4d76-8d1b-a477378a06fe",
      "ae077ee4-147b-4b7e-94f6-900cc1ad220f"
    ]
  }
}

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:
"e9c8bf8b-b4d1-469a-9eb0-5187fe6b324c"