Export Package
/mobile/tools/1.0/export/package
Creates a package with the specified assets.
Note that the simplest way to create the request body is to retrieve the package dependencies by sending a POST /mobile/tools/1.0/assets/packageDependencies
request for a backend or custom API's asset ID, and then using the response body for the dependencies
object in this request.
After the request completes successfully, use the downloadLink
from the response body to get the package's ZIP file.
Request
- application/json
- If-Match
-
Type:
string
The request completes successfully only if the ETag of the corresponding asset matches the value of this HTTP request header. To force overwrite, pass the value `*`.
object
Request Body for Package Export
- dependencies
-
Type:
object
dependenciesRequired:true
Additional Properties Allowed:Information about the asset and its dependencies. - package
-
Type:
object
packageRequired:true
Additional Properties Allowed:The package's definition.
object
- apis
-
Type:
array
apiDependencyArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of APIs as dependencies. - collections
-
Type:
array
collectionDependencyArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of storage collections as dependencies. - connectors
-
Type:
array
connectorDependencyArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of connectors as dependencies. - implementations
-
Type:
array
implDependencyArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of API implementations as dependencies. - mobilebackends
-
Type:
array
mbeDependencyArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of backends as dependencies. - packages
-
Type:
array
packageDependencyArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of packages as dependencies. - roles
-
Type:
array
roleArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of role elements. - unresolvedDependencies
-
Type:
array
unresolvedDependencyArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of unresolved dependencies for a custom API implementation.
object
- documentation
-
Type:
string
Required:true
A description of the package or any type of useful information. - name
-
Type:
string
Required:true
A name that identifies the package. Note that this name is used in the exported file name. - systemVersion
-
Type:
string
Indicates the version of the service that was used to create the package. - version
-
Type:
string
Required:true
The package version.
array
0
true
-
Type:
object
apiDependencyAdditional Properties Allowed:API as a dependency.
array
0
true
-
Type:
object
collectionDependencyAdditional Properties Allowed:Storage collection as a dependency.
array
0
true
-
Type:
object
connectorDependencyAdditional Properties Allowed:Connector as a dependency.
array
0
true
-
Type:
object
implDependencyAdditional Properties Allowed:API implementation as a dependency.
array
0
true
-
Type:
object
mbeDependencyAdditional Properties Allowed:Backend as a dependency.
array
0
true
-
Type:
object
packageDependencyAdditional Properties Allowed:Package as a dependency.
array
0
true
-
Type:
object
unresolvedDependencyAdditional Properties Allowed:Unresolved dependency for the custom API implementation.
object
-
Type:
object
apiShortAdditional Properties Allowed:The short API definition representation. -
Type:
object
apiDependency-allOf[1]Additional Properties Allowed:
object
-
Type:
object
assetGetAdditional Properties Allowed:The asset representation for GET requests. -
Type:
object
apiShort-allOf[1]Additional Properties Allowed:
- implementation
-
Type:
object
assetShortAdditional Properties Allowed:Asset information (short form). - implementations
-
Type:
array
assetShortQualifiedArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of qualified assets. - mock
-
Type:
boolean
TheRouting_BindAPIToMock
environment policy that's defined for the API. When this value is true, the service resolves the API request to a mock service instead of the implementation that's bound to the API. This is returned only in the context of the backend. - roles
-
Type:
array
roleArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of role elements.
object
-
Type:
object
assetUpdateAdditional Properties Allowed:The asset representation for PUT requests. -
Type:
object
assetIdEtagAdditional Properties Allowed:The asset ID and entity tag (ETag) values. -
Type:
object
trashAdditional Properties Allowed:Indicator of whether the asset is in the trash. -
Type:
object
assetGet-allOf[3]Additional Properties Allowed:
- basePath
-
Type:
string
The API base path in the format `/mobile/custom/{apiName}`. - hasBusinessObjects
-
Type:
boolean
Default Value:false
Indicates whether the API is associated with API Express resources (business objects). - icon
-
Type:
object
iconAdditional Properties Allowed:Information about the icon that's associated with the API or connector.
object
- actionComment
-
Type:
string
- desc
-
Type:
string
Maximum Length:100
- max
-
Type:
boolean
Default Value:false
- name
-
Type:
string
Required:true
Maximum Length:100
Pattern:^[a-zA-Z][a-zA-Z0-9_]*$
- namespace
-
Type:
string
Applicable to APIs and implementations only. This value is null for all other asset types. - title
-
Type:
string
Maximum Length:255
- version
-
Type:
string
Maximum Length:100
Pattern:^[a-zA-Z0-9][\w.]*$
Asset version.
object
- etag
-
Type:
string
The asset entity tag (ETag) value, which you can use to detect concurrent modification. - id
-
Type:
string
Required:true
- createdOn
-
Type:
string
- deletedBy
-
Type:
string
- deletedOn
-
Type:
string
- links
-
Type:
array
entityLinksArrayAdditional Properties Allowed:Minimum Number of Items:0
An array of links for an entity's metadata. - modifiedBy
-
Type:
string
- modifiedOn
-
Type:
string
- published
-
Type:
boolean
An asset draft or published status representation.
object
- href
-
Type:
string
Required:true
Link value. - rel
-
Required:
true
Allowed Values:[ "self", "canonical" ]
Link type.
object
- id
-
Type:
string
Required:true
- url
-
Type:
string
Required:true
object
- id
-
Type:
string
Asset identifier. - name
-
Type:
string
Asset name. - namespace
-
Type:
string
Asset namespace. - version
-
Type:
string
Maximum Length:100
Pattern:^[a-zA-Z0-9][\w.]*$
Asset version.
array
0
true
-
Type:
object
assetShortQualifiedAdditional Properties Allowed:An asset's information in qualified short form, which includes type and qualifiers.
object
-
Type:
object
assetShortAdditional Properties Allowed:Asset information (short form). -
Type:
object
assetQualifiersAdditional Properties Allowed:Asset type name and qualifiers.
object
- qualifier
-
Type:
string
The asset qualifier. It may contain multiple values separated by commas (`,`). - type
-
Allowed Values:
[ "MobileBackend", "API", "APIImplementation", "Connector", "StorageCollection", "Role" ]
object
-
Type:
object
mosCollectionGetAdditional Properties Allowed:The storage collection representation for GET requests. -
Type:
object
assetQualifiersAdditional Properties Allowed:Asset type name and qualifiers. -
Type:
object
collectionDependency-allOf[2]Additional Properties Allowed:
object
-
Type:
object
assetGetAdditional Properties Allowed:The asset representation for GET requests. -
Type:
object
mosCollectionGet-allOf[1]Additional Properties Allowed:
- roles
-
Type:
array
roleArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of role elements.
- guid
-
Type:
string
- syncControl
-
Type:
boolean
- userIsolated
-
Type:
boolean
object
-
Type:
object
connectorGetAdditional Properties Allowed:The connector representation for GET requests. -
Type:
object
assetQualifiersAdditional Properties Allowed:Asset type name and qualifiers. -
Type:
object
connectorDependency-allOf[2]Additional Properties Allowed:
object
-
Type:
object
connectorShortAdditional Properties Allowed:The short connector definition representation. -
Type: connectorGet-allOf[1]Additional Properties Allowed:
- implementation
-
Type:
object
assetShortAdditional Properties Allowed:Asset information (short form).
object
-
Type:
object
assetGetAdditional Properties Allowed:The asset representation for GET requests. -
Type:
object
connectorBaseAdditional Properties Allowed:Base connector properties.
-
Type:
object
connectorGetRestAdditional Properties Allowed:REST connector get payload. -
Type:
object
connectorUpdateSoapAdditional Properties Allowed:SOAP connector update payload. -
Type:
object
connectorUpdateDatabaseAdditional Properties Allowed:MOB DB connector update payload. -
Type:
object
connectorUpdateIcsRestAdditional Properties Allowed:ICS REST connector update payload. -
Type:
object
connectorUpdateIcsSoapAdditional Properties Allowed:ICS SOAP connector update payload.
object
- basePath
-
Type:
string
The connector API base path in the format `/mobile/connector/{name}/{path}`. - connectorType
-
Allowed Values:
[ "REST", "SOAP", "DATABASE", "ICS", "FA" ]
- icon
-
Type:
object
iconAdditional Properties Allowed:Information about the icon that's associated with the API or connector.
object
-
Type:
object
connectorUpdateRestAdditional Properties Allowed:REST connector update payload. -
Type:
object
connectorGetRest-allOf[1]Additional Properties Allowed:
object
-
Type:
object
connectorCreateSoapAdditional Properties Allowed:SOAP connector creation payload. -
Type:
object
connectorUpdateSoap-allOf[1]Additional Properties Allowed:
object
-
Type:
object
connectorCreateDatabaseAdditional Properties Allowed:REST connector creation payload. -
Type:
object
connectorUpdateDatabase-allOf[1]Additional Properties Allowed:
object
-
Type:
object
connectorUpdateRestAdditional Properties Allowed:REST connector update payload. -
Type:
object
connectorUpdateIcsRest-allOf[1]Additional Properties Allowed:
object
-
Type:
object
connectorUpdateSoapAdditional Properties Allowed:SOAP connector update payload. -
Type:
object
connectorUpdateIcsSoap-allOf[1]Additional Properties Allowed:
object
- httpConnectionTimeout
-
Type:
integer
(int64
) - httpReadTimeout
-
Type:
integer
(int64
) - remoteURL
-
Type:
string
Required:true
- rules
-
Type:
array
restRuleArrayAdditional Properties Allowed:Minimum Number of Items:0
An array of REST rules. - securityPolicies
-
Type:
array
securityPolicyArrayAdditional Properties Allowed:Minimum Number of Items:0
An array of security policy elements. - workAreaTag
-
Type:
string
- descriptorInfo
-
Type:
object
connectorDescriptorInfoAdditional Properties Allowed:Connector descriptor information.
array
0
-
Type:
object
securityPolicyAdditional Properties Allowed:Connector OWSM security policy.
object
- defaultParameters
-
Type:
array
defaultParametersAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
- methods
-
Type:
array
methodsAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
- notAppliedToNested
-
Type:
boolean
- resource
-
Type:
string
array
0
true
-
Type:
object
restParameterAdditional Properties Allowed:REST connector rule default parameter.
array
0
true
-
Allowed Values:
[ "GET", "POST", "PUT", "DELETE", "HEAD", "TRACE", "OPTIONS", "PATCH" ]
object
- name
-
Type:
string
- type
-
Allowed Values:
[ "query", "header" ]
- value
-
Type:
string
object
- name
-
Type:
string
Required:true
- overrides
-
Type:
array
securityPolicyOverrideArrayAdditional Properties Allowed:Minimum Number of Items:0
An array of security-policy override elements.
array
0
-
Type:
object
securityPolicyOverrideAdditional Properties Allowed:Security policy override property.
object
- propertyName
-
Type:
string
Required:true
- value
-
Type:
string
Required:true
object
- descriptorLocation
-
Type:
string
- descriptorSource
-
Required:
true
Allowed Values:[ "URL", "FILE", "NONE" ]
- designTimeUserName
-
Type:
string
- isDesignTimePasswordSaved
-
Type:
boolean
- httpConnectionTimeout
-
Type:
integer
(int64
) - httpReadTimeout
-
Type:
integer
(int64
) - operations
-
Type:
array
operationsAdditional Properties Allowed: - securityPolicies
-
Type:
array
securityPolicyArrayAdditional Properties Allowed:Minimum Number of Items:0
An array of security policy elements. - svcEndpoint
-
Type:
string
Required:true
- svcName
-
Type:
string
Required:true
- svcPort
-
Type:
string
Required:true
object
- custom
-
Type:
string
The custom name for the operation. - name
-
Type:
string
Required:true
- uri
-
Type:
string
Required:true
The URI for the SOAPAction HTTP request header.
object
- databaseConnectorType
-
Required:
true
Allowed Values:[ "table", "customsql" ]
- dbConnectorMetadata
-
Type:
object
dbConnectorMetadataAdditional Properties Allowed:Database connector metadata model.
object
object
- allColumns
-
Type:
array
allColumnsRequired:true
Additional Properties Allowed:Minimum Number of Items:0
- primaryKeys
-
Type:
array
primaryKeysRequired:true
Additional Properties Allowed:Minimum Number of Items:0
- requiredColumns
-
Type:
array
requiredColumnsRequired:true
Additional Properties Allowed:Minimum Number of Items:0
- selectedColumns
-
Type:
array
selectedColumnsRequired:true
Additional Properties Allowed:Minimum Number of Items:0
- tableNameInfo
-
Type:
object
tableNameInfoRequired:true
Additional Properties Allowed:Database connector table/view name/type metadata.
object
- databaseTableName
-
Type:
string
Required:true
The true name of the database table, which might not be a legal JSON name. - tableName
-
Type:
string
Required:true
The name of the table in JSON or URL. - tableType
-
Type:
string
Required:true
Indicates whether the table is a table, view, or synonym.
- ics
-
Type:
object
icsConnectionReferenceAdditional Properties Allowed:ICS configuration. This holds state about an ICS instance that should persist across connector sessions. - integration
-
Type:
object
integrationAdditional Properties Allowed:ICS integration flow metadata.
object
- connectionName
-
Type:
string
The name of this logical construct describing connectivity to a particular ICS instance. - runtimeCsfKey
-
Type:
string
The default CSF key entry to suggest using when reaching the ICS Security page (the one chosen/created last time). - serviceURL
-
Type:
string
Required:true
The service URL to ICS (that is, `https:///ics`).
object
- builtBy
-
Type:
string
The author of the integration. - created
-
Type:
string
When this integration was created. - description
-
Type:
string
The description of the ICS integration. - icon
-
Type:
string
URL of the icon for the target. - integrationName
-
Type:
string
Required:true
The name of the ICS integration. - remoteUrl
-
Type:
string
The URL used to create the connector (remote URL or WSDL). - securityPolicy
-
Type:
string
The WSS security policy to use to talk to this endpoint. That is, `oracle/http_basic_auth_over_ssl_client_policy`. Note that this value isn't shown on the discovery page in the connector UI. - targetService
-
Type:
string
The type of system being exposed in ICS. - technology
-
Allowed Values:
[ "SOAP", "REST" ]
- updated
-
Type:
string
When this integration was updated. - version
-
Type:
string
The version in ICS.
- ics
-
Type:
object
icsConnectionReferenceAdditional Properties Allowed:ICS configuration. This holds state about an ICS instance that should persist across connector sessions. - integration
-
Type:
object
integrationAdditional Properties Allowed:ICS integration flow metadata.
object
-
Type:
object
apiImplementationGetAdditional Properties Allowed:The API implementation service details. -
Type:
object
assetQualifiersAdditional Properties Allowed:Asset type name and qualifiers. -
Type:
object
implDependency-allOf[2]Additional Properties Allowed:
object
-
Type:
object
assetGetAdditional Properties Allowed:The asset representation for GET requests. -
Type:
object
apiImplementationGet-allOf[1]Additional Properties Allowed:
- api
-
Type:
object
assetShortQualifiedAdditional Properties Allowed:An asset's information in qualified short form, which includes type and qualifiers. - uses
-
Type:
array
assetShortQualifiedArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of qualified assets.
- api
-
Type:
object
assetShortQualifiedAdditional Properties Allowed:An asset's information in qualified short form, which includes type and qualifiers. - artifacts
-
Type:
array
artifactArrayAdditional Properties Allowed:Minimum Number of Items:0
An array of artifact information.
object
- downloadLink
-
Type:
string
The link to download the artifact. - id
-
Type:
string
Required:true
The artifact's ID. - name
-
Type:
string
Required:true
Maximum Length:255
The name of the artifact. - properties
-
Type:
object
propertiesAdditional Properties Allowed:{ "type":"string" }
object
-
Type:
object
mobilebackendGetAdditional Properties Allowed:The backend representation for GET requests. -
Type:
object
assetQualifiersAdditional Properties Allowed:Asset type name and qualifiers. -
Type:
object
mbeDependency-allOf[2]Additional Properties Allowed:
object
-
Type:
object
mobilebackendShortGetAdditional Properties Allowed:The backend representation for GET requests. -
Type:
object
mobilebackendGet-allOf[1]Additional Properties Allowed:
- includes
-
Type:
array
assetShortQualifiedArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of qualified assets. - roles
-
Type:
array
roleArrayAdditional Properties Allowed:Minimum Number of Items:0
Unique Items Required:true
An array of role elements.
object
-
Type:
object
assetGetAdditional Properties Allowed:The asset representation for GET requests. -
Type:
object
mobilebackendOAuthKeysAdditional Properties Allowed:The client keys (client_id/client_secret) that are required for backend access using OAuth. -
Type:
object
mobilebackendBasicAuthKeysAdditional Properties Allowed:The mobile backend ID that's required for backend access when you use Basic access authorization. -
Type:
object
mobilebackendShortGet-allOf[3]Additional Properties Allowed:
- analyticsAppGuid
-
Type:
string
Analytics application ID resolved from the policy. If a new analytics application creation was requested on the backend creation and this attribute is null, then the application wasn't created. In this case you can check if it already exists, retry, or create one with another name and/or timezone, and then link it to the backend. - targetBackend
-
Type:
object
assetShortAdditional Properties Allowed:Asset information (short form). - targetBackendError
-
Type:
object
localizedMessageAdditional Properties Allowed:Localized error message for generic purposes.
object
- clientID
-
Type:
string
Required:true
- clientSecret
-
Type:
string
Required:true
- sso
-
Type:
boolean
object
- basicAuthBackendId
-
Type:
string
Required:true
- basic
-
Type:
boolean
- inactive
-
Type:
boolean
- oauth
-
Type:
boolean
- roleAccess
-
Type:
object
mobilebackendRoleAccessAdditional Properties Allowed:The backend's role-access details.
object
- enabled
-
Type:
boolean
- roles
-
Type:
array
stringArrayAdditional Properties Allowed:Minimum Number of Items:0
An array of string values.
object
- message
-
Type:
string
Required:true
- messageId
-
Type:
string
- params
-
Type:
array
paramsAdditional Properties Allowed:Minimum Number of Items:0
object
-
Type:
object
packageGetAdditional Properties Allowed:The package representation for GET requests. -
Type:
object
assetQualifiersAdditional Properties Allowed:Asset type name and qualifiers.
object
-
Type:
object
assetGetAdditional Properties Allowed:The asset representation for GET requests. -
Type:
object
packageGet-allOf[1]Additional Properties Allowed:
- documentation
-
Type:
boolean
- packageType
-
Allowed Values:
[ "EXPORT", "IMPORT" ]
- systemVersion
-
Type:
string
object
- name
-
Type:
string
The name of the custom API or connector. - version
-
Type:
string
The version of the custom API or connector.
Response
- application/json
object
- downloadLink
-
Type:
string
The link to download the artifact. - id
-
Type:
string
Required:true
The artifact's ID. - name
-
Type:
string
Required:true
Maximum Length:255
The name of the artifact. - properties
-
Type:
object
propertiesAdditional Properties Allowed:{ "type":"string" }
object
- detail
-
Type:
string
Required:true
Message that provides the error details. - o:ecid
-
Type:
string
Required:true
Execution context ID, which is a unique identifier to correlate events or requests that are associated with the same transaction across several components. - o:errorCode
-
Type:
string
Required:true
The service's error code. - o:errorDetails
-
Type:
object
errorDetailsAdditional Properties Allowed: - o:errorPath
-
Type:
string
Required:true
The relative point in the API path where the error occurred. - status
-
Type:
integer
(int64
)Required:true
HTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details. - title
-
Type:
string
Required:true
Summary of the problem. - type
-
Type:
string
Required:true
The URI to the link that provides details about the HTTP status code.
object
- detail
-
Type:
string
Required:true
- o:errorDetails
-
Type:
object
errorDetailsAdditional Properties Allowed: - title
-
Type:
string
Required:true
Summary of the problem. - type
-
Type:
string
Required:true
The URI to the link that provides details about the HTTP status code.
object
- detail
-
Type:
string
Required:true
Message that provides the error details. - o:ecid
-
Type:
string
Required:true
Execution context ID, which is a unique identifier to correlate events or requests that are associated with the same transaction across several components. - o:errorCode
-
Type:
string
Required:true
The service's error code. - o:errorDetails
-
Type:
object
errorDetailsAdditional Properties Allowed: - o:errorPath
-
Type:
string
Required:true
The relative point in the API path where the error occurred. - status
-
Type:
integer
(int64
)Required:true
HTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details. - title
-
Type:
string
Required:true
Summary of the problem. - type
-
Type:
string
Required:true
The URI to the link that provides details about the HTTP status code.
object
- detail
-
Type:
string
Required:true
- o:errorDetails
-
Type:
object
errorDetailsAdditional Properties Allowed: - title
-
Type:
string
Required:true
Summary of the problem. - type
-
Type:
string
Required:true
The URI to the link that provides details about the HTTP status code.
Examples
The following example shows how to create and export a package using cURL. For more information about cURL, see Use cURL.
curl -i -X POST -d @body.json -H "Content-Type: application/json; charset=utf-8" -H "Authorization: Bearer $TOKEN" "$BASE_URL/mobile/tools/1.0/export/package"
Example of Request Body
The following shows an example of the request body. Note that the contents of the dependencies
object was copied from the response body that was returned by a POST /mobile/tools/1.0/assets/packageDependencies
request using the backend???s ID.
{ "package":{ "name":"salesPlusPackage", "version":"1.0", "documentation":"Using Export Package REST API" }, "dependencies":{ "mobilebackends":[ { "id":"1f7eee54-5f6d-4123-b4b7-5413912510ce", "name":"mcs_examples_sync_salesplus", "version":"1.0", "qualifier":"self", "desc":"MBE for the SalesPlus app which demonstrates several of the MCS Sync Client SDK features.", "links":[ ... ], "published":false, "inTrash":false, "actionComment":null, "etag":"2", "createdOn":"2016-09-13T03:20:24.878Z", "modifiedOn":"2017-07-11T20:10:42.348Z", "modifiedBy":"jdoe", "deletedOn":null, "deletedBy":null, "clientId":"3c78fddef1244ab8bad1b2c20b8e7a15", "clientSecret":"7711932a-7288-4b65-9e8e-0b486f6aaf72", "basicAuthBackendId":"faf550b1-24f0-4b40-9c58-6751e7047b22", "oauth":true, "basicAuth":true, "inactive":false, "roleAccess":{ "enabled":false, "roles":[ ] }, "includes":[ { "id":"f9da3b1f-cfa8-439e-be80-819a4455a24c", "name":"mcs_examples_sync_salesplus", "version":"1.0", "type":"API" }, { "id":"4566a5a1-1981-475f-8a70-053f0a409bcf", "name":"images", "version":"1.0", "type":"StorageCollection" } ], "roles":[ ] } ], "apis":[ { "id":"f9da3b1f-cfa8-439e-be80-819a4455a24c", "namespace":"custom", "name":"mcs_examples_sync_salesplus", "version":"1.0", "qualifier":"implements", "desc":"Supports the SalesPlus app which demonstrates several of the MCS Sync Client SDK features.", "links":[ ... ], "published":false, "inTrash":false, "actionComment":null, "etag":"1", "createdOn":"2016-09-13T03:08:21.030Z", "modifiedOn":"2016-12-21T16:52:17.155Z", "modifiedBy":"jdoe", "deletedOn":null, "deletedBy":null, "title":"REST API for the SalesPlus App", "basePath":"/mobile/custom/mcs_examples_sync_salesplus", "icon":null, "category":"CUSTOM", "hasBusinessObjects":false, "mock":false, "implementations":[ { "id":"1138d50b-cd03-42dc-8d2b-7e2c28e613dc", "name":"mcs_examples_sync_salesplus", "version":"1.0.0", "type":"APIImplementation" } ], "implementation":{ "id":"1138d50b-cd03-42dc-8d2b-7e2c28e613dc", "name":"mcs_examples_sync_salesplus", "version":"1.0.0" }, "roles":[ ] } ], "implementations":[ { "id":"1138d50b-cd03-42dc-8d2b-7e2c28e613dc", "name":"mcs_examples_sync_salesplus", "version":"1.0.0", "desc":"Custom API for MCS SalesPlus example app", "links":[ ... ], "published":false, "inTrash":false, "actionComment":null, "etag":"1", "createdOn":"2016-09-15T04:05:33.880Z", "modifiedOn":"2016-12-21T17:16:25.640Z", "modifiedBy":"jdoe", "deletedOn":null, "deletedBy":null, "artifacts":[ { "name":"impl 2.zip", "id":"c0bd8762-9f66-4233-bd9b-c91831d902cf", "properties":{ "customcode.api.implementation.artifact":"true" }, "downloadLink":"/mobile/tools/1.0/artifacts/c0bd8762-9f66-4233-bd9b-c91831d902cf" } ], "api":{ "id":"f9da3b1f-cfa8-439e-be80-819a4455a24c", "namespace":"custom", "name":"mcs_examples_sync_salesplus", "version":"1.0", "type":"API" }, "uses":[ ] } ], "connectors":[ ], "collections":[ { "id":"4566a5a1-1981-475f-8a70-053f0a409bcf", "name":"images", "version":"1.0", "desc":"Customer and technician photos", "links":[ ... ], "published":false, "inTrash":false, "actionComment":null, "etag":"5", "createdOn":"2017-07-11T20:10:41.563Z", "modifiedOn":"2017-07-11T20:37:49.911Z", "modifiedBy":"jdoe", "deletedOn":null, "deletedBy":null, "userIsolated":false, "syncControl":true, "guid":"OW2V7PVFUNAZDDQLLFFUVA24PQ", "roles":[ { "id":"fd42ebc04bff72fdd9adf34fd3732c12", "name":"manager", "version":"1.0", "desc":null, "links":[ ], "published":true, "inTrash":false, "actionComment":null, "etag":"1", "createdOn":null, "modifiedOn":null, "modifiedBy":null, "deletedOn":null, "deletedBy":null }, { "id":"fd11a5739507b3bb2a371b45b0eda6c7", "name":"customer", "version":"1.0", "desc":null, "links":[ ], "published":true, "inTrash":false, "actionComment":null, "etag":"1", "createdOn":null, "modifiedOn":null, "modifiedBy":null, "deletedOn":null, "deletedBy":null } ] } ], "unresolvedDependencies":[ ], "roles":[ { "id":"fd11a5739507b3bb2a371b45b0eda6c7", "name":"customer", "version":"1.0", "desc":null, "links":[ ... ], "published":true, "inTrash":false, "actionComment":null, "etag":"1", "createdOn":null, "modifiedOn":null, "modifiedBy":null, "deletedOn":null, "deletedBy":null }, { "id":"fd42ebc04bff72fdd9adf34fd3732c12", "name":"manager", "version":"1.0", "desc":null, "links":[ ... ], "published":true, "inTrash":false, "actionComment":null, "etag":"1", "createdOn":null, "modifiedOn":null, "modifiedBy":null, "deletedOn":null, "deletedBy":null } ], "packages":[ ], "clients":[ ], "policies":[ { "name":"*.custom/mcs_examples_sync_salesplus(1.0).Routing_BindApiToImpl", "value":"mcs_examples_sync_salesplus(1.0.0)", "desc":null } ] } }
Example of Response Header
The following shows an example of the response headers:
200 OK Content-Length: 200 Content-Type: application/json Date: Wed, 28 Jun 2017 20:00:11 GMT
Example of Response Body
The following example shows the contents of the response body in JSON format:
{ "name": "package-salesPlusPackage.zip", "id": "13f8f425-0e8a-4e46-a4d1-f0ee37aa552e", "properties": { "is.package": "true" }, "downloadLink": "/mobile/tools/1.0/artifacts/13f8f425-0e8a-4e46-a4d1-f0ee37aa552e" }