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": "3f10e7eb-a17d-44b1-9656-dbf84eaa0b86",
  "ParentId": "ff8e4052-cd6a-40ef-8fb5-8ecc9fc5c583",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "997a1b5a-20af-48a1-9da3-727574b5fc0c",
      "5a4899c8-b47d-48ea-a1b4-ffdd876620fa"
    ],
    "Companies": [
      "2e2c94a4-e177-4b2e-81ab-d1d170ac3000",
      "f929a417-b376-4306-84cc-66d221a040b5"
    ],
    "Groups": [
      "fb03759e-16ea-4f9f-a1f5-ae652c8a162a",
      "022f5897-7695-4fb1-8743-97603d086555"
    ],
    "Opportunities": [
      "8ca83bb5-1199-4c0e-9459-e6ca8c76540e",
      "cbf89a5c-16ae-47eb-8161-e217ec493b71"
    ]
  }
}

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:
"3783686d-b0a1-4c74-ba92-c3835ff45547"