Remark: 1.Service 360 will not maintain the history of the schema. 2.appData element in this document is a mocked data. 3.Application Workspace shall flag the data object in appData element which element is a document object by adding them in the appAttr.documents element. The appAttr.documents could contain zero or more documents object in flatten format.
X-API-Key: ********************{
"appData": {
"InvestorProfile": {
"FirstName": "",
"LastName": "",
"BirthDate": ""
},
"BusinessInformation": {
"Passport": {
"docType": "Passport",
"files": []
},
"LicenseValidityStartDate": "",
"LicenseValidityEndDate": "",
"LegalDocuments": [
{
"NOC": {
"docType": "NOC",
"files": []
},
"EID": {
"docType": "EID",
"files": []
}
}
],
"NumberofPartners": 0
},
"BusinessActivities": [
{
"BusinessActivityValue": "",
"NumberofBranches": ""
}
],
"BusinessCountries": [
""
]
},
"appAttr": {
"documents": [
"BusinessInformation.Passport",
"BusinessInformation.LegalDocuments.NOC",
"BusinessInformation.LegalDocuments.EID"
]
}
}curl --location --request POST 'https://s360-apiqa.detsandbox.com/app/design/v1/application-schema/service//' \
--header 'X-Request-Id: {% faker datatype.uuid %}' \
--header 'api_key: 5k5a9rnknaj87kthytganapc' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"appData": {
"InvestorProfile": {
"FirstName": "",
"LastName": "",
"BirthDate": ""
},
"BusinessInformation": {
"Passport": {
"docType": "Passport",
"files": []
},
"LicenseValidityStartDate": "",
"LicenseValidityEndDate": "",
"LegalDocuments": [
{
"NOC": {
"docType": "NOC",
"files": []
},
"EID": {
"docType": "EID",
"files": []
}
}
],
"NumberofPartners": 0
},
"BusinessActivities": [
{
"BusinessActivityValue": "",
"NumberofBranches": ""
}
],
"BusinessCountries": [
""
]
},
"appAttr": {
"documents": [
"BusinessInformation.Passport",
"BusinessInformation.LegalDocuments.NOC",
"BusinessInformation.LegalDocuments.EID"
]
}
}'{
"status": 200,
"externalId": "outsystem-external-id-12343",
"esbUUID": "92037c84-70f3-4f17-b840-d0e038e506b7",
"desc": {
"code": "ESB-S360-S0000",
"en": "Success",
"ar": "نجاح"
}
}