-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge branch 'microsoft:dev' into dev"
- Loading branch information
1 parent
096a7c3
commit a3f086e
Showing
2 changed files
with
24 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"email": "[email protected]" | ||
} | ||
}, | ||
"host": "eu10-sb.smartcommunications.cloud", | ||
"host": "ap10-sb.smartcommunications.cloud", | ||
"basePath": "/", | ||
"schemes": [ | ||
"https" | ||
|
@@ -22,7 +22,7 @@ | |
"application/json" | ||
], | ||
"paths": { | ||
"/one/oauth2/api/v11/job/generateDocument": { | ||
"/one/oauth2/api/v10/job/generateDocument": { | ||
"post": { | ||
"summary": "Generate Document", | ||
"description": "This function generates a document.", | ||
|
@@ -47,19 +47,17 @@ | |
"required": true, | ||
"type": "string", | ||
"default": "application/json", | ||
"description": "The API accepts both XML and JSON requests. The request type is determined by the 'Content-Type' HTTP header in the request.", | ||
"x-ms-summary": "Content-Type", | ||
"x-ms-visibility": "internal" | ||
"description": "The API accepts both XML and JSON requests. The request type is determined by the \u2018Content-Type\u2019 HTTP header in the request.", | ||
"x-ms-summary": "Content-Type" | ||
}, | ||
{ | ||
"name": "Accept", | ||
"in": "header", | ||
"required": true, | ||
"type": "string", | ||
"default": "application/json", | ||
"description": "The API accepts both XML and JSON responses. The response type is determined by the 'Accept' HTTP header in the request.", | ||
"x-ms-summary": "Accept", | ||
"x-ms-visibility": "internal" | ||
"description": "The API accepts both XML and JSON responses. The response type is determined by the \u2018Accept\u2019 HTTP header in the request.", | ||
"x-ms-summary": "Accept" | ||
}, | ||
{ | ||
"name": "body", | ||
|
@@ -70,19 +68,18 @@ | |
"properties": { | ||
"projectId": { | ||
"type": "integer", | ||
"format": "int64", | ||
"format": "int32", | ||
"description": "The CMS project ID used to scope the request execution. If this value is not specified then the job will execute in production mode.", | ||
"title": "projectId", | ||
"x-ms-summary": "Project ID" | ||
"title": "projectId" | ||
}, | ||
"transactionData": { | ||
"type": "string", | ||
"description": "The sample data.", | ||
"description": "The sample data. The data is encoded as Base64.", | ||
"title": "transactionData" | ||
}, | ||
"batchConfigResId": { | ||
"type": "integer", | ||
"format": "int64", | ||
"format": "int32", | ||
"description": "The CMS ID of the Template Selector resource. The Template Selector is used to map the transaction data to the Template and Data Model.", | ||
"title": "batchConfigResId" | ||
}, | ||
|
@@ -97,11 +94,7 @@ | |
"type": "string", | ||
"description": "The content type of the transaction data. Can be 'application/xml' or 'application/json'. Defaults to 'application/xml'.", | ||
"title": "transactionDataType", | ||
"default": "application/xml", | ||
"enum": [ | ||
"application/xml", | ||
"application/json" | ||
] | ||
"default": "application/xml" | ||
}, | ||
"properties": { | ||
"type": "array", | ||
|
@@ -143,13 +136,13 @@ | |
"properties": { | ||
"classId": { | ||
"type": "integer", | ||
"format": "int64", | ||
"format": "int32", | ||
"description": "The code of the business exception.", | ||
"title": "classId" | ||
}, | ||
"id": { | ||
"type": "integer", | ||
"format": "int64", | ||
"format": "int32", | ||
"description": "The unique ID of the business exception.", | ||
"title": "id" | ||
}, | ||
|
@@ -192,20 +185,18 @@ | |
"type": "object", | ||
"properties": { | ||
"startPage": { | ||
"type": "integer", | ||
"format": "int32", | ||
"type": "string", | ||
"description": "The start page number of an enclosed document in the primary merged print document.", | ||
"title": "startPage" | ||
}, | ||
"pageCount": { | ||
"type": "integer", | ||
"format": "int32", | ||
"type": "string", | ||
"description": "The number of pages in the document generated.", | ||
"title": "pageCount" | ||
}, | ||
"channelType": { | ||
"type": "integer", | ||
"format": "int64", | ||
"format": "int32", | ||
"description": "The type of the channel. Possible types are: '1' TYPE_HTML '2' TYPE_PRINT '3' TYPE_SMS '4' TYPE_TEXT '5' TYPE_TML '6' TYPE_XML '7' TYPE_WORDML '8' TYPE_XSLFO.", | ||
"title": "channelType" | ||
}, | ||
|
@@ -248,7 +239,7 @@ | |
}, | ||
"channelId": { | ||
"type": "integer", | ||
"format": "int64", | ||
"format": "int32", | ||
"description": "The channel Id of the document.", | ||
"title": "channelId" | ||
}, | ||
|
@@ -266,18 +257,16 @@ | |
"type": "object", | ||
"properties": { | ||
"startPage": { | ||
"type": "integer", | ||
"format": "int32", | ||
"type": "string", | ||
"description": "startPage" | ||
}, | ||
"pageCount": { | ||
"type": "integer", | ||
"format": "int32", | ||
"type": "string", | ||
"description": "pageCount" | ||
}, | ||
"channelType": { | ||
"type": "integer", | ||
"format": "int64", | ||
"format": "int32", | ||
"description": "channelType" | ||
}, | ||
"channelName": { | ||
|
@@ -315,7 +304,7 @@ | |
}, | ||
"channelId": { | ||
"type": "integer", | ||
"format": "int64", | ||
"format": "int32", | ||
"description": "channelId" | ||
}, | ||
"partLocation": { | ||
|
@@ -350,7 +339,7 @@ | |
}, | ||
"destID": { | ||
"type": "integer", | ||
"format": "int64", | ||
"format": "int32", | ||
"description": "The ID of the destination.", | ||
"title": "destID" | ||
}, | ||
|
@@ -431,8 +420,8 @@ | |
"oauth2_auth": { | ||
"type": "oauth2", | ||
"flow": "accessCode", | ||
"authorizationUrl": "https://eu10-sb.smartcommunications.cloud/one/oauth2Server/authorize", | ||
"tokenUrl": "https://eu10-sb.smartcommunications.cloud/one/oauth2Server/token", | ||
"authorizationUrl": "https://ap10-sb.smartcommunications.cloud/one/oauth2Server/authorize", | ||
"tokenUrl": "https://ap10-sb.smartcommunications.cloud/one/oauth2Server/token", | ||
"scopes": {} | ||
} | ||
}, | ||
|
19 changes: 0 additions & 19 deletions
19
certified-connectors/SmartCOMM On Demand Doc-Gen/script.csx
This file was deleted.
Oops, something went wrong.