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": "df932e0b-2485-4c70-a510-9e1af948cf16",
  "ParentId": "af382339-e837-40d4-9ec7-601861a0850c",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "64200d7e-0f04-4072-9803-c7fa82d39ee1",
      "7a5fe04a-5c7b-400e-8ec6-4a9ce981d693"
    ],
    "Companies": [
      "e1e20e8d-8bbd-4f2b-86cd-98aea35ccf0d",
      "d074c30a-eb61-4bd4-b893-255c34dc06f1"
    ],
    "Groups": [
      "9581520e-3fde-4217-8d08-d07bdcafcd35",
      "af50f173-5b2c-4177-9d71-3ed538aebbed"
    ],
    "Opportunities": [
      "957a361a-e99d-4d0e-8df4-6d8314f7a1e2",
      "e80d0f2d-aaa5-4761-b8b2-ab0b4024d14d"
    ]
  }
}

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:
"eed41160-81cb-4c0a-a1ff-0d8b46af428a"