S360 Services
Home
Home
Azure DevOps Repository
  1. DesignTime
  • Component Diagram
  • S360 Providers
    • BackOffice Workspace
      • Application
        • Submit Application
        • Application Status
      • Service Provisioning
        • Service Provisioning Request
        • Service Provisioning Status
      • Payment
        • Pricing Request
        • Payment Confirmation
      • References
    • IID Authorization
      • Get Context
      • Create Child Session
      • Get Child Session
      • Refresh Child Session
      • Validate Child Session
      • Logout Child Session
      • Add messages
    • MDM
      • License
        • QueryLicenses
  • S360
    • BackOffice
      • Application
        • Application Decision
      • Service Provisioning
        • Service Provisioning
    • IID Portal
      • Read This First
      • Application Status
      • Services
        • Get My Services
        • Get My Service Details
        • Start My Application
      • Applications
        • Get My Applications
        • Get My Application Details
        • Complete My Application
        • View My Application
      • Inventory
        • Get My Inventories
        • Get My Inventory Details
      • Payment
        • CompletePayment
        • GetPaymentDetails
        • ConfirmPayment
        • GetDuePaymentDetails
        • GetPastPaymentDetails
        • GetMyDuePayments
        • GetMyPastPayments
        • GetMyPaymentDetails
        • GetMyPayments
      • Document
        • Retrieve Document
    • Application Workspace
      • Read This First
      • SSO
        • Authenticate
        • Refresh Session
      • Application
        • GetContext App
        • GetContext User
        • Submit My Application
        • Notify Application Status
      • Document
        • Upload Document
        • Retrieve Document
      • Proxy
        • Get Reference Data from Entity
      • DesignTime
        • Upload Application Schema
          POST
    • Rules Engines
      • Payment
  1. DesignTime

Upload Application Schema

Integrating
POST
https://s360-apiqa.detsandbox.com/app/design/v1/application-schema/service/{serviceId}/{version}
Last modified:2024-09-26 11:41:36
OperationId:UploadApplicationSchema

Overview#

During design time, Application Workspace shall upload the application object schema to the Service 360. The operation will upsert the schema into the Service 360 schema repository.
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.

Request

Authorization
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
Path Params

Header Params

Body Params application/json

Example
{
  "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"
    ]
  }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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 'Content-Type: application/json' \
--header 'X-API-Key;' \
--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"
    ]
  }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": 200,
    "externalId": "outsystem-external-id-12343",
    "esbUUID": "92037c84-70f3-4f17-b840-d0e038e506b7",
    "desc": {
        "code": "ESB-S360-S0000",
        "en": "Success",
        "ar": "نجاح"
    }
}
Modified at 2024-09-26 11:41:36
Previous
Get Reference Data from Entity
Built with