Get an Opportunity by Id
Returns the details of a single Opportunity in your account. You can get theOpportunityId
for an opportunity by referring to Get Opportunity by Lead Id.
API URL
URL Parameters
Parameter | Description |
---|---|
OpportunityId | Opportunity Id of the opportunity you want to retrieve the details for. This is mandatory. |
getFileURL | Retrieves the URLs for files that are uploaded to a CFS present within the opportunity. This is optional. To retrieve the file URLs, pass the value as "true" |
Response
{ "ID":"4597c076-be5a-4ba2-9b08-ecd21626750f", "Name":"Loan", "DisplayName":"Loan", "Fields":[ { "SchemaName":"ActivityEvent_Note", "InternalName":"ActivityEvent_Note", "DisplayName":"Notes", "Value":null, "DataType":"String", "IsMandatory":false, "ShowInForm":true, "Sequence":0, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"Status", "InternalName":"Status", "DisplayName":"Status", "Value":"Open", "DataType":"SearchableDropdown", "IsMandatory":true, "ShowInForm":true, "Sequence":2, "ParentField":"", "OptionSet":"[{\"IsDefault\":true,\"Text\":\"\",\"Value\":\"Open\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":0,\"BackgroundColor\":\"#FFFB83\",\"FontColor\":\"#A08427\"},{\"IsDefault\":false,\"Text\":\"\",\"Value\":\"Won\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":1,\"BackgroundColor\":\"#A5E887\",\"FontColor\":\"#347715\"},{\"IsDefault\":false,\"Text\":\"\",\"Value\":\"Lost\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":2,\"BackgroundColor\":\"#FFD4D0\",\"FontColor\":\"#E31D00\"}]", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"OpportunityStatus", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"Owner", "InternalName":"Owner", "DisplayName":"Owner", "Value":"a4dfa1c5-c6d2-11ea-92ae-0a6d35d1ff1e", "DataType":"ActiveUsers", "IsMandatory":true, "ShowInForm":true, "Sequence":1, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"Owner", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_1", "InternalName":"mx_Custom_1", "DisplayName":"Opportunity Name", "Value":"Manish Garg - Loan", "DataType":"String", "IsMandatory":true, "ShowInForm":true, "Sequence":3, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"Title", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_2", "InternalName":"mx_Custom_2", "DisplayName":"Stage", "Value":"Prospecting", "DataType":"SearchableDropdown", "IsMandatory":true, "ShowInForm":true, "Sequence":4, "ParentField":"Status", "OptionSet":"", "DependentOptionSet":"[{\"Parent\":\"Open\",\"Options\":[{\"IsDefault\":true,\"Text\":\"\",\"Value\":\"Prospecting\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":0},{\"IsDefault\":false,\"Text\":\"\",\"Value\":\"Qualification\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":1},{\"IsDefault\":false,\"Text\":\"\",\"Value\":\"Need Analysis\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":2},{\"IsDefault\":false,\"Text\":\"\",\"Value\":\"Proposal\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":3},{\"IsDefault\":false,\"Text\":\"\",\"Value\":\"Negotiation\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":4}]},{\"Parent\":\"Won\",\"Options\":[{\"IsDefault\":true,\"Text\":\"\",\"Value\":\"Closed - Won\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":0}]},{\"Parent\":\"Lost\",\"Options\":[{\"IsDefault\":true,\"Text\":\"\",\"Value\":\"Closed - Lost\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":0},{\"IsDefault\":false,\"Text\":\"\",\"Value\":\"Decided not to buy\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":1},{\"IsDefault\":false,\"Text\":\"\",\"Value\":\"Budget constraints\",\"CanDelete\":1,\"CanEdit\":1,\"IsLastOption\":0,\"Order\":2}]}]", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"OpportunityReason", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_3", "InternalName":"mx_Custom_3", "DisplayName":"Source", "Value":"", "DataType":"String", "IsMandatory":false, "ShowInForm":true, "Sequence":4, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"OpportunitySourceName", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_20", "InternalName":"mx_Custom_20", "DisplayName":"Campaign", "Value":"", "DataType":"String", "IsMandatory":false, "ShowInForm":true, "Sequence":5, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"OpportunitySourceCampaign", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_21", "InternalName":"mx_Custom_21", "DisplayName":"Medium", "Value":"", "DataType":"String", "IsMandatory":false, "ShowInForm":true, "Sequence":6, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"OpportunitySourceMedium", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_22", "InternalName":"mx_Custom_22", "DisplayName":"Term", "Value":"", "DataType":"String", "IsMandatory":false, "ShowInForm":true, "Sequence":7, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"OpportunitySourceTerm", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_23", "InternalName":"mx_Custom_23", "DisplayName":"Content", "Value":"", "DataType":"String", "IsMandatory":false, "ShowInForm":true, "Sequence":8, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"OpportunitySourceContent", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_5", "InternalName":"mx_Custom_5", "DisplayName":"Description", "Value":"", "DataType":"String", "IsMandatory":false, "ShowInForm":true, "Sequence":10, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"Description", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_6", "InternalName":"mx_Custom_6", "DisplayName":"Expected Deal Size", "Value":"2500000", "DataType":"Number", "IsMandatory":false, "ShowInForm":true, "Sequence":11, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"ExpectedDealSize", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_7", "InternalName":"mx_Custom_7", "DisplayName":"Actual Deal Size", "Value":"", "DataType":"Number", "IsMandatory":false, "ShowInForm":true, "Sequence":12, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"ActualDealSize", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_8", "InternalName":"mx_Custom_8", "DisplayName":"Expected Closure Date", "Value":"2020-11-06 05:45:00", "DataType":"DateTime", "IsMandatory":false, "ShowInForm":true, "Sequence":13, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"ExpectedClosureDate", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_9", "InternalName":"mx_Custom_9", "DisplayName":"Actual Closure Date", "Value":"", "DataType":"DateTime", "IsMandatory":false, "ShowInForm":true, "Sequence":14, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"ActualClosureDate", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_10", "InternalName":"mx_Custom_10", "DisplayName":"Product", "Value":"9215d13e-c2b1-11ea-92ae-0a6d35d1ff1e", "DataType":"Product", "IsMandatory":false, "ShowInForm":true, "Sequence":15, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"Product", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_11", "InternalName":"mx_Custom_11", "DisplayName":"Origin", "Value":"", "DataType":"String", "IsMandatory":false, "ShowInForm":true, "Sequence":16, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"Origin", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"ModifiedOn", "InternalName":"ModifiedOn", "DisplayName":"Modified On", "Value":null, "DataType":"DateTime", "IsMandatory":false, "ShowInForm":true, "Sequence":22, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":true, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"ModifiedOn", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"ModifiedBy", "InternalName":"ModifiedBy", "DisplayName":"Modified By", "Value":null, "DataType":"ActiveUsers", "IsMandatory":false, "ShowInForm":true, "Sequence":23, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":true, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"ModifiedBy", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"CreatedOn", "InternalName":"CreatedOn", "DisplayName":"Created On", "Value":null, "DataType":"DateTime", "IsMandatory":false, "ShowInForm":true, "Sequence":24, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":true, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"CreatedOn", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"CreatedBy", "InternalName":"CreatedBy", "DisplayName":"Created By", "Value":null, "DataType":"ActiveUsers", "IsMandatory":false, "ShowInForm":true, "Sequence":25, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":true, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"CreatedBy", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_19", "InternalName":"mx_Custom_19", "DisplayName":"Comment", "Value":"", "DataType":"String", "IsMandatory":false, "ShowInForm":true, "Sequence":26, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":true, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"OpportunityComment", "CustomObjectType":2, "MaxFieldLength":200 }, { "SchemaName":"mx_Custom_4", "InternalName":"mx_Custom_4", "DisplayName":"Documents", "Value":"{\"mx_CustomObject_1\":\"f3af3ac5.png\"}", "DataType":"CustomObject", "IsMandatory":false, "ShowInForm":true, "Sequence":4, "ParentField":"", "OptionSet":"", "DependentOptionSet":"", "IsDefault":false, "CustomObjectFormProperties":{ "FieldProperties":{ "CustomObjectId":"da2282ec-f74f-11ea-8f2a-0a6d35d1ff1e", "FormMetaData":[ { "AllowAutoUpdate":false, "BehaviorOnMissingDropdownOption":0, "CustomObjectFormProperties":null, "DataType":"File", "DependentOptionSet":null, "DependentOptionsCSV":null, "DisplayName":"PAN Card", "FileContentProperties":{ "AllowedExtensions":[ "png", "jpg", "jpeg", "bmp" ], "AllowedMaxFiles":"10", "AllowedMaxSize":"1", "BlockedExtensions":null, "Configuration":null, "PreSignedURLExpiry":null, "RelativePath":null, "ContentType":"Images" }, "FileStorageVersion":0, "FileURL":"https://lsq-private-storage-test.s3.ap-south-1.amazonaws.com/permanent/t/unacademy1/module/customobject/f3af3ac5.png?X-Amz-Expires=1800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIADJGOIW2PJTYFRA/20200916/ap-south-1/s3/aws4_request&X-Amz-Date=20200916T072559Z&X-Amz-SignedHeaders=host&X-Amz-Signature=991b60342e293a4db7750cc6cf4a0a4dceafaf99c4b07f79370a02c5fc0f5dbd", "ImportOperationStatus":0, "IncludeOthersOption":false, "InternalName":null, "IsDefault":false, "IsDerived":false, "IsLargeOptionSetImportAttempted":false, "IsMandatory":false, "IsOthersValue":false, "IsReadOnly":false, "LargeOptionSetImportTransactionId":null, "LeadFieldDetails":null, "LeadFieldProperties":null, "MaxFieldLength":200, "OptionSet":null, "OptionsCSV":null, "ParentField":null, "SchemaName":"mx_CustomObject_1", "Sequence":0, "ShowInForm":true, "Value":"f3af3ac5.png" }, { "AllowAutoUpdate":false, "BehaviorOnMissingDropdownOption":0, "CustomObjectFormProperties":null, "DataType":"File", "DependentOptionSet":null, "DependentOptionsCSV":null, "DisplayName":"Aadhaar", "FileContentProperties":{ "AllowedExtensions":[ "png", "jpg", "jpeg", "bmp" ], "AllowedMaxFiles":"10", "AllowedMaxSize":"1", "BlockedExtensions":null, "Configuration":null, "PreSignedURLExpiry":null, "RelativePath":null, "ContentType":"Images" }, "FileStorageVersion":0, "FileURL":null, "ImportOperationStatus":0, "IncludeOthersOption":false, "InternalName":null, "IsDefault":false, "IsDerived":false, "IsLargeOptionSetImportAttempted":false, "IsMandatory":false, "IsOthersValue":false, "IsReadOnly":false, "LargeOptionSetImportTransactionId":null, "LeadFieldDetails":null, "LeadFieldProperties":null, "MaxFieldLength":200, "OptionSet":null, "OptionsCSV":null, "ParentField":null, "SchemaName":"mx_CustomObject_2", "Sequence":0, "ShowInForm":true, "Value":null } ] }, "FormLayout":{ "AvailableFields":[ ], "Sections":[ { "DisplayName":"Custom Field Set Details", "Fields":[ { "Colspan":2, "SchemaName":"mx_CustomObject_1" }, { "Colspan":2, "SchemaName":"mx_CustomObject_2" } ] } ] }, "DisplayName":"Documents", "CreatedOn":"2020-09-16 05:44:47", "CreatedByName":"Rajesh Aggarwal", "ModifiedByName":"Rajesh Aggarwal", "FileStorageVersion":-1 }, "IsReadOnly":false, "RenderType":"", "ExportAsPlainText":false, "IsMultiSelectDropdown":false, "IncludeOthersOption":false, "BehaviorOnMissingDropdownOption":0, "IsOthersValue":false, "InternalSchemaName":"", "CustomObjectType":2, "MaxFieldLength":200 } ], "CreatedByName":"Rajesh Aggarwal", "CreatedOn":"/Date(1600234980000+0000)/", "RelatedProspectId":"69e1c27e-dd08-4b53-b509-f353ad1c7f4d", "OpportunityNote":"", "OpportunityEvent":12005, "CreatedOnString":"2020-09-16 05:43:00", "OpportunityEventType":"2", "FormLayout":{ "AvailableFields":[ { "Colspan":1, "SchemaName":"mx_Custom_7" }, { "Colspan":1, "SchemaName":"mx_Custom_9" }, { "Colspan":1, "SchemaName":"mx_Custom_11" }, { "Colspan":1, "SchemaName":"ModifiedOn" }, { "Colspan":1, "SchemaName":"ModifiedBy" }, { "Colspan":1, "SchemaName":"CreatedOn" }, { "Colspan":1, "SchemaName":"CreatedBy" }, { "Colspan":1, "SchemaName":"mx_Custom_2" }, { "Colspan":1, "SchemaName":"mx_Custom_20" }, { "Colspan":1, "SchemaName":"mx_Custom_21" }, { "Colspan":1, "SchemaName":"mx_Custom_22" }, { "Colspan":1, "SchemaName":"mx_Custom_23" }, { "Colspan":1, "SchemaName":"mx_Custom_19" } ], "Sections":[ { "DisplayName":"Opportunity Details", "Fields":[ { "Colspan":2, "SchemaName":"ActivityEventName" }, { "Colspan":2, "SchemaName":"AssociatedEntityIdName" }, { "Colspan":2, "SchemaName":"mx_Custom_1" }, { "Colspan":1, "SchemaName":"mx_Custom_6" }, { "Colspan":1, "SchemaName":"mx_Custom_8" }, { "Colspan":1, "SchemaName":"mx_Custom_10" }, { "Colspan":1, "SchemaName":"Owner" }, { "Colspan":2, "SchemaName":"Status" }, { "Colspan":2, "SchemaName":"mx_Custom_3" }, { "Colspan":2, "SchemaName":"mx_Custom_5" }, { "Colspan":2, "SchemaName":"ActivityEvent_Note" }, { "Colspan":2, "SchemaName":"mx_Custom_4" } ] } ] }, "AuditOpportunity":true, "VCardFormLayout":{ "AvailableFields":[ { "Colspan":2, "SchemaName":"mx_Custom_3" }, { "Colspan":2, "SchemaName":"mx_Custom_5" }, { "Colspan":2, "SchemaName":"mx_Custom_9" }, { "Colspan":2, "SchemaName":"mx_Custom_11" }, { "Colspan":2, "SchemaName":"CreatedOn" }, { "Colspan":2, "SchemaName":"CreatedBy" }, { "Colspan":2, "SchemaName":"ActivityEvent_Note" }, { "Colspan":2, "SchemaName":"mx_Custom_4" }, { "Colspan":1, "SchemaName":"mx_Custom_2" }, { "Colspan":1, "SchemaName":"mx_Custom_20" }, { "Colspan":1, "SchemaName":"mx_Custom_21" }, { "Colspan":1, "SchemaName":"mx_Custom_22" }, { "Colspan":1, "SchemaName":"mx_Custom_23" }, { "Colspan":1, "SchemaName":"mx_Custom_19" } ], "Sections":[ { "DisplayName":"Opportunity VCard", "Fields":[ { "Colspan":2, "SchemaName":"mx_Custom_1" }, { "Colspan":2, "SchemaName":"Status" }, { "Colspan":2, "SchemaName":"mx_Custom_10" }, { "Colspan":2, "SchemaName":"mx_Custom_6" }, { "Colspan":2, "SchemaName":"mx_Custom_7" }, { "Colspan":2, "SchemaName":"mx_Custom_8" } ] }, { "DisplayName":null, "Fields":[ { "Colspan":2, "SchemaName":"Owner" }, { "Colspan":2, "SchemaName":"ModifiedOn" }, { "Colspan":2, "SchemaName":"ModifiedBy" } ] }, { "DisplayName":"Related Lead", "Fields":[ { "Colspan":2, "SchemaName":"FirstName" }, { "Colspan":2, "SchemaName":"LastName" }, { "Colspan":2, "SchemaName":"ProspectStage" }, { "Colspan":2, "SchemaName":"Phone" }, { "Colspan":2, "SchemaName":"EmailAddress" }, { "Colspan":2, "SchemaName":"LeadAge" }, { "Colspan":2, "SchemaName":"OwnerId" }, { "Colspan":2, "SchemaName":"ModifiedOn" }, { "Colspan":2, "SchemaName":"ModifiedByName" } ] } ], "VCardColor":"#557488" }, "ModifiedOn":"/Date(1600241169000+0000)/", "ModifiedBy":"a4dfa1c5-c6d2-11ea-92ae-0a6d35d1ff1e", "ModifiedByName":"Rajesh Aggarwal", "IsActive":true, "OpportunityEventPluralName":"Loans" }
HTTP Response Codes
Code | Description |
---|---|
200 OK | This is the status code for successful API call. |
401 Unauthorized | The API call was made with invalid access credentials. Check your AccessKey and SecretKey. |
400 Bad Request | The message body on the request is not as per API specification. Make sure that content type is set to “application/json” and the JSON body has correct attribute names and structure. |
404 Not Found | The API could not be found. Please check the API signature. |
429 Too Many Requests | API calls exceeded the limit of 25 in 5 second(s) |
500 Internal Server Error | The API called failed. There could be many reasons for it. Check the exception message to get more details. |