XML Schema description

ActivityResults

Notes

	<xs:element name="ActivityResults">
		<xs:annotation>
			<xs:documentation>Activity results produced by a file process.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Activity" minOccurs="1" maxOccurs="1">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ResultParameters" minOccurs="1" maxOccurs="1">
								<xs:annotation>
									<xs:documentation>List of parameters. Each activity, identifed by activity name, has its individual set of result parameters.</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Parameter" minOccurs="1" maxOccurs="unbounded">
											<xs:complexType>
												<xs:simpleContent>
													<xs:extension base="xsd:string">
														<xs:attribute name="Unit" type="xs:string">
															<xs:annotation>
																<xs:documentation>Optional unit, e.g currency "SEK" if the parameter is an amount.</xs:documentation>
															</xs:annotation>
														</xs:attribute>
														<xs:attribute name="Name" type="xs:string" use="required">
															<xs:annotation>
																<xs:documentation>Name of the parameter.</xs:documentation>
															</xs:annotation>
														</xs:attribute>
													</xs:extension>
												</xs:simpleContent>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="ProcessId" type="xs:long">
							<xs:annotation>
								<xs:documentation>PayEx process id. Used for tracking.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="Name" type="xs:string">
							<xs:annotation>
								<xs:documentation>Name of the activity.</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="Version" type="xs:string" use="required" fixed="1.0">
				<xs:annotation>
					<xs:documentation>Describes which version of the xsd the xml is validated against.</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="CreatedDateTime" type="xs:dateTime" use="required">
				<xs:annotation>
					<xs:documentation>Date and time when the file was created.</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="CompanyNo" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>Your accountsreceivablenumber at PayEx.</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="CompanyName" type="xs:string" use="required">
				<xs:annotation>
					<xs:documentation>The name of your company/accountsreceivable.</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

Created by Fredrik Nilsson on 2021/06/29 16:53