curl --location --request POST '/api/v3/opportunity/config/get' \
--header 'appId: {{appId}}' \
--header 'appId;' \
--header 'timestamp: {{timestamp}}' \
--header 'timestamp;' \
--header 'sign: {{sign}}' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'appKey;'
{
"code": 0,
"message": "string",
"data": [
{
"typeName": "string",
"typeId": 0,
"defaultType": true,
"allowSkip": true,
"allowGoBack": true,
"stages": [
{
"id": 0,
"name": "string",
"rank": 0,
"possibility": 0,
"requirement": "string",
"remind": true,
"remindAfterDays": [
"string"
],
"children": [
{
"id": 0,
"name": "string",
"rank": 0,
"possibility": 0,
"requirement": "string",
"remind": true,
"remindAfterDays": [
"string"
],
"children": [
"string"
],
"customerFields": null,
"requiredOppTypeFields": null
}
],
"customerFields": [
{
"fieldId": 0,
"name": "string",
"type": 0
}
],
"requiredOppTypeFields": [
{
"name": "string",
"required": true,
"rank": 0,
"type": 0,
"maxUnicode": 0,
"id": 0,
"options": [
{
"id": 0,
"name": "string"
}
],
"scale": 0
}
]
}
],
"fields": [
{
"id": 0,
"name": "string",
"required": true,
"type": 0,
"options": [
{
"id": 0,
"name": "string"
}
],
"scale": 0,
"maxUnicode": 0,
"minUnicode": null,
"pattern": null,
"rank": 0
}
],
"allowInvalidGoBack": true,
"allowDeleteOpportunity": true,
"deleteOpportunityDate": 0
}
]
}