Skip to content

Instantly share code, notes, and snippets.

@artyomtrityak
Last active June 20, 2017 16:00
Show Gist options
  • Save artyomtrityak/66dc2c265f237bfca7080d7ce7e0b71b to your computer and use it in GitHub Desktop.
Save artyomtrityak/66dc2c265f237bfca7080d7ce7e0b71b to your computer and use it in GitHub Desktop.
COMMANDER_SESSION_ID = HCYWUMDAROBG4BI1
API_BATCH_MODE = serial
[[{
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "appVirtPath",
"description": "Virtual path of the application, i.e: '/myApplication'. (Required)",
"expansionDeferred": "0",
"label": "Application Virtual Path",
"required": "1",
"type": "entry",
"orderIndex": 1,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "199"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "msDeployPath",
"description": "Provide the relative or absolute path to the MSDeploy executable",
"expansionDeferred": "0",
"label": "MSDeploy Path",
"required": "0",
"type": "entry",
"orderIndex": 2,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "200"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "artifactName",
"defaultValue": "",
"description": "Name of artifact to retrieve",
"expansionDeferred": "0",
"label": "Artifact Name",
"required": "1",
"type": "entry",
"orderIndex": 3,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "201"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "artifactVersion",
"defaultValue": "",
"description": "Name of artifact to retrieve",
"expansionDeferred": "0",
"label": "Artifact Version",
"required": "1",
"type": "entry",
"orderIndex": 4,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "202"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "bindingInfo",
"description": "Information of the binding to add, including the host and the port, i.e: 'localhost:443', '*:81'. (Required)",
"expansionDeferred": "0",
"label": "Binding Information",
"required": "0",
"type": "entry",
"orderIndex": 5,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "203"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "bindingProtocol",
"description": "Protocol of the binding to add, i.e: 'http'. (Required)",
"expansionDeferred": "0",
"label": "Binding Protocol",
"required": "0",
"type": "entry",
"orderIndex": 6,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "204"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "bindingsList",
"description": "List of bindings in the friendly form of 'http://domain:port,...' or raw form of 'protocol/bindingInformation,...' (Required)",
"expansionDeferred": "0",
"label": "Bindings List",
"required": "0",
"type": "entry",
"orderIndex": 7,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "205"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "retrieveToDir",
"description": "Directory where artifact will be retrieved",
"expansionDeferred": "0",
"label": "Artifact Retrieve To Directory",
"required": "1",
"type": "entry",
"orderIndex": 8,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "206"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "webAppPath",
"description": "Provide the path to the destination directory. This must be a physical directory, but it may have an IIS virtual directory pointing to it. i.e: C:\\\\\\\\inetpub\\\\\\\\wwwroot\\\\\\\\copyTest. (Required)",
"expansionDeferred": "0",
"label": "Application Physical Path",
"required": "0",
"type": "entry",
"orderIndex": 9,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "207"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "websiteName",
"description": "The name of the WebSite to create. (Required)",
"expansionDeferred": "0",
"label": "Website Name",
"required": "1",
"type": "entry",
"orderIndex": 10,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "208"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "websitePath",
"description": "If specified, will cause the root application containing a root virtual directory pointing to the specified path to be created for this site. If omitted, the site is created without a root application and will not be startable until one is created. (Required)",
"expansionDeferred": "0",
"label": "Website Path",
"required": "1",
"type": "entry",
"orderIndex": 11,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "209"
}, {
"operation": "modifyFormalParameter",
"parameters": {
"formalParameterName": "artifactFileName",
"description": "Name of the retrieved artifact file",
"expansionDeferred": "0",
"label": "Artifact File name",
"required": "1",
"type": "entry",
"orderIndex": 12,
"componentName": "IISMC",
"projectName": "SelfService"
},
"requestId": "210"
}], {}]
//-------------------------- RESPONSE --------------------------------//
{
"responses": [{
"formalParameter": {
"formalParameterId": "cec0eac6-55cf-11e7-8f1c-005056330c34",
"formalParameterName": "appVirtPath",
"createTime": "2017-06-20T15:47:45.130Z",
"description": "Virtual path of the application, i.e: '\/myApplication'. (Required)",
"expansionDeferred": "0",
"label": "Application Virtual Path",
"lastModifiedBy": "admin",
"modifyTime": "2017-06-20T15:47:45.130Z",
"orderIndex": "1",
"owner": "admin",
"required": "1",
"tracked": "1",
"type": "entry"
},
"requestId": "199"
}, {
"requestId": "210",
"error": {
"where": "\/requests\/request[@requestId=\"210\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "200",
"error": {
"where": "\/requests\/request[@requestId=\"200\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "201",
"error": {
"where": "\/requests\/request[@requestId=\"201\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "202",
"error": {
"where": "\/requests\/request[@requestId=\"202\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "203",
"error": {
"where": "\/requests\/request[@requestId=\"203\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "204",
"error": {
"where": "\/requests\/request[@requestId=\"204\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "205",
"error": {
"where": "\/requests\/request[@requestId=\"205\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "206",
"error": {
"where": "\/requests\/request[@requestId=\"206\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "207",
"error": {
"where": "\/requests\/request[@requestId=\"207\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "208",
"error": {
"where": "\/requests\/request[@requestId=\"208\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}, {
"requestId": "209",
"error": {
"where": "\/requests\/request[@requestId=\"209\"]\/ObjectNode\/orderIndex",
"message": "orderIndex can't be larger than 1",
"details": "",
"code": "InvalidOrderIndex"
}
}],
"requestsMap": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment