mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 11:43:26 +08:00
103 lines
46 KiB
JSON
103 lines
46 KiB
JSON
|
|
{
|
|||
|
|
"sections": [
|
|||
|
|
"title",
|
|||
|
|
"description",
|
|||
|
|
"fields",
|
|||
|
|
"sub_types",
|
|||
|
|
"wsdl_segment"
|
|||
|
|
],
|
|||
|
|
"title": "RetrieveResult - Metadata API",
|
|||
|
|
"description": "The retrieve() call returns an array of RetrieveResult objects.",
|
|||
|
|
"fields_columns": [
|
|||
|
|
"description"
|
|||
|
|
],
|
|||
|
|
"fields": {
|
|||
|
|
"done": {
|
|||
|
|
"description": "Indicates whether the retrieve() call is completed (true) or not (false). This field is available in API version 31.0 and later.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"errorMessage": {
|
|||
|
|
"description": "If an error occurs during the retrieve() call, this field contains a descriptive message about this error. This field is available in API version 31.0 and later."
|
|||
|
|
},
|
|||
|
|
"errorStatusCode": {
|
|||
|
|
"description": "If an error occurs during the retrieve() call, this field contains the status code for this error. This field is available in API version 31.0 and later. For a description of each StatusCode value, see StatusCode in the SOAP API Developer Guide."
|
|||
|
|
},
|
|||
|
|
"fileProperties": {
|
|||
|
|
"description": "Contains information about the properties of each component in the.zip file, and the manifest file package.xml. One object per component is returned."
|
|||
|
|
},
|
|||
|
|
"id": {
|
|||
|
|
"description": "ID of the component being retrieved."
|
|||
|
|
},
|
|||
|
|
"messages": {
|
|||
|
|
"description": "Contains information about the success or failure of the retrieve() call."
|
|||
|
|
},
|
|||
|
|
"status": {
|
|||
|
|
"description": "The status of the retrieve() call. Valid values are: Pending InProgress Succeeded Failed This field is available in API version 31.0 and later."
|
|||
|
|
},
|
|||
|
|
"success": {
|
|||
|
|
"description": "Indicates whether the retrieve() call was successful (true) or not (false). This field is available in API version 31.0 and later."
|
|||
|
|
},
|
|||
|
|
"zipFile": {
|
|||
|
|
"description": "The zip file returned by the retrieve request. Base 64-encoded binary data. Before making an API call, client applications must encode the binary attachment data as base64. Upon receiving a response, client applications must decode the base64 data to binary. This conversion is handled for you by a SOAP client."
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"sub_types": {
|
|||
|
|
"FileProperties": {
|
|||
|
|
"createdById": {
|
|||
|
|
"description": "ID of the user who created the file.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"createdByName": {
|
|||
|
|
"description": "Name of the user who created the file.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"createdDate": {
|
|||
|
|
"description": "Date and time when the file was created.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"fileName": {
|
|||
|
|
"description": "Name of the file.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"fullName": {
|
|||
|
|
"description": "The file developer name used as a unique identifier for API access. The value is based on the fileName but the characters allowed are more restrictive. The fullName can contain only underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"id": {
|
|||
|
|
"description": "ID of the file.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"lastModifiedById": {
|
|||
|
|
"description": "ID of the user who last modified the file.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"lastModifiedByName": {
|
|||
|
|
"description": "Name of the user who last modified the file.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"lastModifiedDate": {
|
|||
|
|
"description": "Date and time that the file was last modified.",
|
|||
|
|
"required": true
|
|||
|
|
},
|
|||
|
|
"manageableState": {
|
|||
|
|
"description": "Indicates the manageable state of the specified component if it’s contained in a package: beta deleted deprecated deprecatedEditable installed installedEditable released unmanaged"
|
|||
|
|
},
|
|||
|
|
"namespacePrefix": {
|
|||
|
|
"description": "If any, the namespace prefix of the component."
|
|||
|
|
},
|
|||
|
|
"type": {
|
|||
|
|
"description": "The metadata type, such as CustomObject, CustomField, or ApexClass.",
|
|||
|
|
"required": true
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"RetrieveMessage": {
|
|||
|
|
"fileName": {
|
|||
|
|
"description": "The name of the file in the retrieved.zip file where a problem occurred."
|
|||
|
|
},
|
|||
|
|
"problem": {
|
|||
|
|
"description": "A description of the problem that occurred."
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"wsdl_segment": "```xml\n<xsd:complexType name=\"DeployDetails\">\n <xsd:sequence>\n <xsd:element name=\"componentFailures\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"tns:DeployMessage\"/>\n <xsd:element name=\"componentSuccesses\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"tns:DeployMessage\"/>\n <xsd:element name=\"retrieveResult\" minOccurs=\"0\" type=\"tns:RetrieveResult\"/>\n <xsd:element name=\"runTestResult\" minOccurs=\"0\" type=\"tns:RunTestsResult\"/>\n </xsd:sequence>\n</xsd:complexType>\n<xsd:complexType name=\"DeployResult\">\n <xsd:sequence>\n <xsd:element name=\"canceledBy\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"canceledByName\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"checkOnly\" type=\"xsd:boolean\"/>\n <xsd:element name=\"completedDate\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <xsd:element name=\"createdBy\" type=\"xsd:string\"/>\n <xsd:element name=\"createdByName\" type=\"xsd:string\"/>\n <xsd:element name=\"createdDate\" type=\"xsd:dateTime\"/>\n <xsd:element name=\"deployExtensionResults\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"tns:DeployExtensionResult\"/>\n <xsd:element name=\"details\" type=\"tns:DeployDetails\"/>\n <xsd:element name=\"done\" type=\"xsd:boolean\"/>\n <xsd:element name=\"errorMessage\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"errorStatusCode\" minOccurs=\"0\" type=\"tns:StatusCode\"/>\n <xsd:element name=\"id\" type=\"tns:ID\"/>\n <xsd:element name=\"ignoreWarnings\" type=\"xsd:boolean\"/>\n <xsd:element name=\"lastModifiedDate\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <xsd:element name=\"numberComponentErrors\" type=\"xsd:int\"/>\n <xsd:element name=\"numberComponentsDeployed\" type=\"xsd:int\"/>\n <xsd:element name=\"numberComponentsTotal\" type=\"xsd:int\"/>\n <xsd:element name=\"numberFiles\" minOccurs=\"0\" type=\"xsd:int\"/>\n <xsd:element name=\"numberTestErrors\" type=\"xsd:int\"/>\n <xsd:element name=\"numberTestsCompleted\" type=\"xsd:int\"/>\n <xsd:element name=\"numberTestsTotal\" type=\"xsd:int\"/>\n <xsd:element name=\"rollbackOnError\" type=\"xsd:boolean\"/>\n <xsd:element name=\"runTestsEnabled\" type=\"xsd:boolean\"/>\n <xsd:element name=\"startDate\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <xsd:element name=\"stateDetail\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"status\" type=\"tns:DeployStatus\"/>\n <xsd:element name=\"success\" type=\"xsd:boolean\"/>\n <xsd:element name=\"zipSize\" minOccurs=\"0\" type=\"xsd:long\"/>\n </xsd:sequence>\n</xsd:complexType>\n<xsd:complexType name=\"FileProperties\">\n <xsd:sequence>\n <xsd:element name=\"createdById\" type=\"xsd:string\"/>\n <xsd:element name=\"createdByName\" type=\"xsd:string\"/>\n <xsd:element name=\"createdDate\" type=\"xsd:dateTime\"/>\n <xsd:element name=\"fileName\" type=\"xsd:string\"/>\n <xsd:element name=\"fullName\" type=\"xsd:string\"/>\n <xsd:element name=\"id\" type=\"xsd:string\"/>\n <xsd:element name=\"lastModifiedById\" type=\"xsd:string\"/>\n <xsd:element name=\"lastModifiedByName\" type=\"xsd:string\"/>\n <xsd:element name=\"lastModifiedDate\" type=\"xsd:dateTime\"/>\n <xsd:element name=\"manageableState\" minOccurs=\"0\" type=\"tns:ManageableState\"/>\n <xsd:element name=\"namespacePrefix\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"type\" type=\"xsd:string\"/>\n </xsd:sequence>\n</xsd:complexType>\n<xsd:simpleType name=\"ManageableState\">\n <xsd:restriction base=\"xsd:string\">\n <xsd:enumeration value=\"released\"/>\n <xsd:enumeration value=\"deleted\"/>\n <xsd:enumeration value=\"deprecated\"/>\n <xsd:enumeration value=\"installed\"/>\n <xsd:enumeration value=\"beta\"/>\n <xsd:enumeration value=\"unmanaged\"/>\n <xsd:enumeration value=\"installedEditable\"/>\n <xsd:enumeration value=\"deprecatedEditable\"/>\n </xsd:restriction>\n</xsd:simpleType>\n<xsd:complexType name=\"RetrieveMessage\">\n <xsd:sequence
|
|||
|
|
}
|