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
  • Schemas
    • Common
      • CommonResponse
      • KeyValues
      • ProviderCommonResponse
      • CommonDescription
      • CommonMessage
      • InternationalizedCode
      • InternationalizedText
      • CommonPaging
    • S360
      • Status
        • status-rules-en
        • status-payment-en
        • status-consent-en
        • status-decision-en
        • status-provisioning-en
        • status-application-en
        • action-en
        • rules
        • action
        • status-service-en
        • pay-type
      • Application
        • application.identifier
        • applicationStatus
        • application.audit
        • application.workspace
        • applicationObject
        • applicationSchema
        • applicationDecision
        • applicationProvisioningStatus
        • applicationProvisioningRequest
        • application.audit.remark
        • StartMyApplicationRequest
        • application
        • application.quote
        • StartMyApplicationResponse
        • GetMyApplicationDetailResponse
        • applicationContext
        • application.audit.step
        • GetMyApplicationsResponse
      • Document
        • file
        • ocr
        • document
      • _temp
        • _application
        • applicationPrefilledInfos
        • applicationContext
        • applicationContext
      • Service
        • service-compatibility
        • lifecycle-inventory
        • GetMyServicesResponse
        • GetMyServicesRequestControl
        • GetMyServicesQuery
        • tradeLicense.application
        • tradeLicense.inventory
        • service
        • service.compatibility.segment
        • service.policy.item
        • service.situation
        • tradeLicense
        • GetMyServiceDetailsResponse
        • service.composedOf
        • service.compatibility
        • service.compatibility.segment.context
        • service.eligibility
        • service.execRule
        • service.execRule.rule
        • tradeLicense.inventory.output
        • metadata
      • Payment
        • query
        • sort
        • search
        • quotation
        • payment
        • audit
        • transaction
        • requestControl
        • quotation-payment
        • audit.v1.0
        • requestControl.v1.0
      • RuleEngine
        • TradeLicenseEligibility
      • Inventory
        • inventoryObject
        • inventory.lifecycle.enum
      • service.catalog
      • document
      • inventory
      • Catalog.Services
      • Catalog.Segment
      • Service Identifier
      • LookupData
      • MyServices
      • segmentContext
      • service.composedof
      • service.executionRule
      • service.compatibility
      • service.state.enum
    • Schemas
      • GetMyServicesRs2
      • GetMyServiceDetailRs
      • StartMyApplicationRs
      • Application
      • ServiceArray
      • Service
      • ServiceDetail
      • ServiceByState
      • NextBestAction
      • StateEnum
      • GetMyServicesRs
      • Metadata
    • JWT
      • userContext
      • iidParams
      • GetContextResponse
    • PortalData
    • CommonResponse
Home
Home
Azure DevOps Repository
  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 Code 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 '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"
    ]
  }
}'

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
Next
CommonResponse
Built with