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": "283c64e4-73e7-485a-9c89-767b6a2ffb38",
  "ParentId": "58308447-7a18-4260-842b-a72d5b691d36",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "e215973f-783d-4f90-8f39-ec6d092e9e62",
      "c70a24c8-ce40-4f8b-8564-ee871383cf95"
    ],
    "Companies": [
      "b3d33041-1480-4c5e-ae97-a516c7218caa",
      "0321cba7-e301-4318-9e7f-eee0d7e17c8a"
    ],
    "Groups": [
      "c05c7c6e-11b1-4fec-b2b7-811c296fc738",
      "83eb02d3-275f-48c0-b751-6c657f3e4dd4"
    ],
    "Opportunities": [
      "0f8527a1-1baa-4611-a847-86a224c72c1e",
      "2ca35fd1-ae87-4989-8768-bb1ab05c0d16"
    ]
  }
}

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:
"e9821bd9-c77e-44ee-81ac-f8631ea94251"