@itentialopensource/adapter-salesforce_apex
Version:
This adapter integrates with system described as: Salesforce Apex API.
1,749 lines (1,748 loc) • 96.3 kB
JSON
{
"openapi": "3.0.0",
"info": {
"title": "ApexService",
"description": "Manage your Salesforce.com Apex classes and triggers",
"contact": {},
"version": "1.0"
},
"servers": [
{
"url": "https://test.salesforce.com/services/Soap/s/48.0",
"variables": {}
}
],
"paths": {
"/compileAndTest": {
"post": {
"tags": [
"Apex"
],
"summary": "compileAndTestApex",
"description": "Compile one or more Apex Classes, Triggers, and run tests.",
"operationId": "compileAndTestApex",
"parameters": [
{
"name": "SessionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "DebuggingHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "PackageVersionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "CallOptions",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"enum": [
"application/xml"
],
"type": "string"
}
}
],
"requestBody": {
"description": "",
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/compileAndTestRequest1"
},
{
"xml": {
"name": "compileAndTestRequest1",
"attribute": false,
"wrapped": false
}
}
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {
"DebuggingInfo": {
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
}
},
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/compileAndTestResponse1"
},
{
"xml": {
"name": "compileAndTestResponse",
"attribute": false,
"wrapped": false
}
}
]
}
}
}
}
},
"deprecated": false
}
},
"/compileClasses": {
"post": {
"tags": [
"Apex"
],
"summary": "compileApexClasses",
"description": "Compile one or more Apex Classes.",
"operationId": "compileApexClasses",
"parameters": [
{
"name": "SessionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "PackageVersionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "CallOptions",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"enum": [
"application/xml"
],
"type": "string"
}
}
],
"requestBody": {
"description": "",
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/compileClassesRequest"
},
{
"xml": {
"name": "compileClassesRequest",
"attribute": false,
"wrapped": false
}
}
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {},
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/compileClassesResponse1"
},
{
"xml": {
"name": "compileClassesResponse",
"attribute": false,
"wrapped": false
}
}
]
}
}
}
}
},
"deprecated": false
}
},
"/compileTriggers": {
"post": {
"tags": [
"Apex"
],
"summary": "compileApexTriggers",
"description": "Compile Apex Trigger code blocks.",
"operationId": "compileApexTriggers",
"parameters": [
{
"name": "SessionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "PackageVersionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "CallOptions",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"enum": [
"application/xml"
],
"type": "string"
}
}
],
"requestBody": {
"description": "",
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/compileTriggersRequest"
},
{
"xml": {
"name": "compileTriggersRequest",
"attribute": false,
"wrapped": false
}
}
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {},
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/compileTriggersResponse1"
},
{
"xml": {
"name": "compileTriggersResponse",
"attribute": false,
"wrapped": false
}
}
]
}
}
}
}
},
"deprecated": false
}
},
"/executeAnonymous": {
"post": {
"tags": [
"Apex"
],
"summary": "executeAnonymousApex",
"description": "Execute an anonymous Apex code block",
"operationId": "executeAnonymousApex",
"parameters": [
{
"name": "SessionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "DebuggingHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "PackageVersionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "CallOptions",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "AllowFieldTruncationHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "DisableFeedTrackingHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"enum": [
"application/xml"
],
"type": "string"
}
}
],
"requestBody": {
"description": "",
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/executeAnonymousRequest"
},
{
"xml": {
"name": "executeAnonymousRequest",
"attribute": false,
"wrapped": false
}
}
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {
"DebuggingInfo": {
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
}
},
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/executeAnonymousResponse1"
},
{
"xml": {
"name": "executeAnonymousResponse",
"attribute": false,
"wrapped": false
}
}
]
}
}
}
}
},
"deprecated": false
}
},
"/runTests": {
"post": {
"tags": [
"Apex"
],
"summary": "runApexTests",
"description": "Execute test methods",
"operationId": "runApexTests",
"parameters": [
{
"name": "SessionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "DebuggingHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "CallOptions",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"enum": [
"application/xml"
],
"type": "string"
}
}
],
"requestBody": {
"description": "",
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/runTestsRequest1"
},
{
"xml": {
"name": "runTestsRequest1",
"attribute": false,
"wrapped": false
}
}
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {
"DebuggingInfo": {
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
}
},
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/runTestsResponse1"
},
{
"xml": {
"name": "runTestsResponse",
"attribute": false,
"wrapped": false
}
}
]
}
}
}
}
},
"deprecated": false
}
},
"/wsdlToApex": {
"post": {
"tags": [
"Apex"
],
"summary": "wsdlToApex",
"description": "Generate Apex packages from WSDL for web service callouts",
"operationId": "wsdlToApex",
"parameters": [
{
"name": "SessionHeader",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "CallOptions",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "Content-Type",
"in": "header",
"description": "",
"required": true,
"style": "simple",
"schema": {
"enum": [
"application/xml"
],
"type": "string"
}
}
],
"requestBody": {
"description": "",
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/wsdlToApexRequest"
},
{
"xml": {
"name": "wsdlToApexRequest",
"attribute": false,
"wrapped": false
}
}
]
}
}
},
"required": true
},
"responses": {
"200": {
"description": "",
"headers": {},
"content": {
"application/xml": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/wsdlToApexResponse1"
},
{
"xml": {
"name": "wsdlToApexResponse",
"attribute": false,
"wrapped": false
}
}
]
}
}
}
}
},
"deprecated": false
}
}
},
"components": {
"schemas": {
"CompileAndTestRequest": {
"title": "CompileAndTestRequest",
"required": [
"checkOnly"
],
"type": "object",
"properties": {
"checkOnly": {
"type": "boolean",
"xml": {
"name": "checkOnly",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"classes": {
"type": "array",
"items": {
"type": "string",
"xml": {
"name": "classes",
"attribute": false,
"wrapped": false
}
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"deleteClasses": {
"type": "array",
"items": {
"type": "string",
"xml": {
"name": "deleteClasses",
"attribute": false,
"wrapped": false
}
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"deleteTriggers": {
"type": "array",
"items": {
"type": "string",
"xml": {
"name": "deleteTriggers",
"attribute": false,
"wrapped": false
}
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"runTestsRequest": {
"allOf": [
{
"$ref": "#/components/schemas/RunTestsRequest"
},
{
"xml": {
"name": "RunTestsRequest",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
]
},
"triggers": {
"type": "array",
"items": {
"type": "string",
"xml": {
"name": "triggers",
"attribute": false,
"wrapped": false
}
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "CompileAndTestRequest",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"RunTestsRequest": {
"title": "RunTestsRequest",
"required": [
"allTests",
"namespace"
],
"type": "object",
"properties": {
"allTests": {
"type": "boolean",
"xml": {
"name": "allTests",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"classes": {
"type": "array",
"items": {
"type": "string",
"xml": {
"name": "classes",
"attribute": false,
"wrapped": false
}
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"maxFailedTests": {
"type": "integer",
"format": "int32",
"xml": {
"name": "maxFailedTests",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"namespace": {
"type": "string",
"xml": {
"name": "namespace",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"packages": {
"type": "array",
"items": {
"type": "string",
"xml": {
"name": "packages",
"attribute": false,
"wrapped": false
}
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"skipCodeCoverage": {
"type": "boolean",
"xml": {
"name": "skipCodeCoverage",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"tests": {
"type": "array",
"items": {
"$ref": "#/components/schemas/TestsNode"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "RunTestsRequest",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"TestsNode": {
"title": "TestsNode",
"required": [
"classId",
"className"
],
"type": "object",
"properties": {
"classId": {
"type": "string",
"xml": {
"name": "classId",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"className": {
"type": "string",
"xml": {
"name": "className",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"testMethods": {
"type": "array",
"items": {
"type": "string",
"xml": {
"name": "testMethods",
"attribute": false,
"wrapped": false
}
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "TestsNode",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"CompileAndTestResult": {
"title": "CompileAndTestResult",
"required": [
"runTestsResult",
"success"
],
"type": "object",
"properties": {
"classes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CompileClassResult"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"deleteClasses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DeleteApexResult"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"deleteTriggers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DeleteApexResult"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"runTestsResult": {
"allOf": [
{
"$ref": "#/components/schemas/RunTestsResult"
},
{
"xml": {
"name": "RunTestsResult",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
]
},
"success": {
"type": "boolean",
"xml": {
"name": "success",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"triggers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CompileTriggerResult"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "CompileAndTestResult",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"CompileClassResult": {
"title": "CompileClassResult",
"required": [
"column",
"id",
"line",
"success"
],
"type": "object",
"properties": {
"bodyCrc": {
"type": "integer",
"format": "int32",
"xml": {
"name": "bodyCrc",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"column": {
"type": "integer",
"format": "int32",
"xml": {
"name": "column",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"id": {
"pattern": "[a-zA-Z0-9]{18}",
"type": "string",
"xml": {
"name": "id",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"line": {
"type": "integer",
"format": "int32",
"xml": {
"name": "line",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"name": {
"type": "string",
"xml": {
"name": "name",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"problem": {
"type": "string",
"xml": {
"name": "problem",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"problems": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CompileIssue"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"success": {
"type": "boolean",
"xml": {
"name": "success",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CompileIssue"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "CompileClassResult",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"CompileIssue": {
"title": "CompileIssue",
"type": "object",
"properties": {
"column": {
"type": "integer",
"format": "int32",
"xml": {
"name": "column",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"line": {
"type": "integer",
"format": "int32",
"xml": {
"name": "line",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"message": {
"type": "string",
"xml": {
"name": "message",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "CompileIssue",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"DeleteApexResult": {
"title": "DeleteApexResult",
"required": [
"id",
"success"
],
"type": "object",
"properties": {
"id": {
"pattern": "[a-zA-Z0-9]{18}",
"type": "string",
"xml": {
"name": "id",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"problem": {
"type": "string",
"xml": {
"name": "problem",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"success": {
"type": "boolean",
"xml": {
"name": "success",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "DeleteApexResult",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"RunTestsResult": {
"title": "RunTestsResult",
"required": [
"numFailures",
"numTestsRun",
"totalTime"
],
"type": "object",
"properties": {
"apexLogId": {
"type": "string",
"xml": {
"name": "apexLogId",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"codeCoverage": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CodeCoverageResult"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"codeCoverageWarnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CodeCoverageWarning"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"failures": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunTestFailure"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"flowCoverage": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowCoverageResult"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"flowCoverageWarnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowCoverageWarning"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"numFailures": {
"type": "integer",
"format": "int32",
"xml": {
"name": "numFailures",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"numTestsRun": {
"type": "integer",
"format": "int32",
"xml": {
"name": "numTestsRun",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"successes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunTestSuccess"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"totalTime": {
"type": "number",
"xml": {
"name": "totalTime",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "RunTestsResult",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"CodeCoverageResult": {
"title": "CodeCoverageResult",
"required": [
"id",
"name",
"namespace",
"numLocations",
"numLocationsNotCovered",
"type"
],
"type": "object",
"properties": {
"id": {
"pattern": "[a-zA-Z0-9]{18}",
"type": "string",
"xml": {
"name": "id",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"locationsNotCovered": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CodeLocation"
},
"description": "",
"xml": {
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"name": {
"type": "string",
"xml": {
"name": "name",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"namespace": {
"type": "string",
"xml": {
"name": "namespace",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"numLocations": {
"type": "integer",
"format": "int32",
"xml": {
"name": "numLocations",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"numLocationsNotCovered": {
"type": "integer",
"format": "int32",
"xml": {
"name": "numLocationsNotCovered",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"type": {
"type": "string",
"xml": {
"name": "type",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "CodeCoverageResult",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"CodeLocation": {
"title": "CodeLocation",
"required": [
"column",
"line",
"numExecutions",
"time"
],
"type": "object",
"properties": {
"column": {
"type": "integer",
"format": "int32",
"xml": {
"name": "column",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"line": {
"type": "integer",
"format": "int32",
"xml": {
"name": "line",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"numExecutions": {
"type": "integer",
"format": "int32",
"xml": {
"name": "numExecutions",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"time": {
"type": "number",
"xml": {
"name": "time",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "CodeLocation",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"CodeCoverageWarning": {
"title": "CodeCoverageWarning",
"required": [
"id",
"message",
"name",
"namespace"
],
"type": "object",
"properties": {
"id": {
"pattern": "[a-zA-Z0-9]{18}",
"type": "string",
"xml": {
"name": "id",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"message": {
"type": "string",
"xml": {
"name": "message",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"name": {
"type": "string",
"xml": {
"name": "name",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"namespace": {
"type": "string",
"xml": {
"name": "namespace",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "CodeCoverageWarning",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"RunTestFailure": {
"title": "RunTestFailure",
"required": [
"id",
"message",
"methodName",
"name",
"namespace",
"stackTrace",
"time",
"type"
],
"type": "object",
"properties": {
"id": {
"pattern": "[a-zA-Z0-9]{18}",
"type": "string",
"xml": {
"name": "id",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"message": {
"type": "string",
"xml": {
"name": "message",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"methodName": {
"type": "string",
"xml": {
"name": "methodName",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"name": {
"type": "string",
"xml": {
"name": "name",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"namespace": {
"type": "string",
"xml": {
"name": "namespace",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"seeAllData": {
"type": "boolean",
"xml": {
"name": "seeAllData",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"stackTrace": {
"type": "string",
"xml": {
"name": "stackTrace",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"time": {
"type": "number",
"xml": {
"name": "time",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"type": {
"type": "string",
"xml": {
"name": "type",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
}
},
"xml": {
"name": "RunTestFailure",
"namespace": "http://soap.sforce.com/2006/08/apex",
"prefix": "tns",
"attribute": false,
"wrapped": false
}
},
"FlowCoverageResult": {
"title": "FlowCoverageResult",
"required": [
"flowId",