Reference for http://vismaaddo.net/WebService/v2.0/RestSigningService.svc/GetAccountInfo?token={TOKEN}
Url: http://vismaaddo.net/WebService/v2.0/RestSigningService.svc/GetAccountInfo?token={TOKEN}
HTTP Method: GET
Message direction | Format | Body |
---|---|---|
Request | N/A | The Request body is empty. |
Response | Xml | Example,Schema |
Response | Json | Example |
The following is an example response Xml body:
<GetAccountInfo xmlns="http://schemas.vismaaddo.net/services/signingservice/v2_0/messages/getaccountinfo"> <AccountDistributionMethod>None</AccountDistributionMethod> <AccountId>2147483647</AccountId> <AccountLevel>Now</AccountLevel> <CanValidateCpr>true</CanValidateCpr> <Contacts> <Contact xmlns="http://schemas.vismaaddo.net/services/signingservice/v2_0/messages/getaccountinfo/contact"> <Cvr>String content</Cvr> <Email>String content</Email> <Name>String content</Name> <Phone>String content</Phone> <Title>String content</Title> <VATIN>String content</VATIN> </Contact> <Contact xmlns="http://schemas.vismaaddo.net/services/signingservice/v2_0/messages/getaccountinfo/contact"> <Cvr>String content</Cvr> <Email>String content</Email> <Name>String content</Name> <Phone>String content</Phone> <Title>String content</Title> <VATIN>String content</VATIN> </Contact> </Contacts> <CreditsLeft>12678967.543233</CreditsLeft> <Email>String content</Email> <ExternalId>String content</ExternalId> <IsEnterprise>true</IsEnterprise> <Name>String content</Name> <Phone>String content</Phone> </GetAccountInfo>
The following is an example response Json body:
{ "AccountDistributionMethod":0, "AccountId":2147483647, "AccountLevel":0, "CanValidateCpr":true, "Contacts":[{ "Cvr":"String content", "Email":"String content", "Name":"String content", "Phone":"String content", "Title":"String content", "VATIN":"String content" }], "CreditsLeft":12678967.543233, "Email":"String content", "ExternalId":"String content", "IsEnterprise":true, "Name":"String content", "Phone":"String content" }
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.vismaaddo.net/services/signingservice/v2_0/messages/getaccountinfo" elementFormDefault="qualified" targetNamespace="http://schemas.vismaaddo.net/services/signingservice/v2_0/messages/getaccountinfo" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.datacontract.org/2004/07/Visma.Addo.Model.Entities.Enums.Deliveries" /> <xs:import namespace="http://schemas.datacontract.org/2004/07/Visma.Addo.Model.Entities.Enums" /> <xs:import namespace="http://schemas.vismaaddo.net/services/signingservice/v2_0/messages/getaccountinfo/contact" /> <xs:complexType name="GetAccountInfo"> <xs:sequence> <xs:element minOccurs="0" name="AccountDistributionMethod" xmlns:q1="http://schemas.datacontract.org/2004/07/Visma.Addo.Model.Entities.Enums.Deliveries" type="q1:DeliveryMethod" /> <xs:element minOccurs="0" name="AccountId" type="xs:int" /> <xs:element minOccurs="0" name="AccountLevel" xmlns:q2="http://schemas.datacontract.org/2004/07/Visma.Addo.Model.Entities.Enums" type="q2:AccountLevel" /> <xs:element minOccurs="0" name="CanValidateCpr" type="xs:boolean" /> <xs:element minOccurs="0" name="Contacts" nillable="true" xmlns:q3="http://schemas.vismaaddo.net/services/signingservice/v2_0/messages/getaccountinfo/contact" type="q3:ArrayOfContact" /> <xs:element minOccurs="0" name="CreditsLeft" type="xs:decimal" /> <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ExternalId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IsEnterprise" type="xs:boolean" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="GetAccountInfo" nillable="true" type="tns:GetAccountInfo" /> </xs:schema>
Additional response Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="anyType" nillable="true" type="xs:anyType" /> <xs:element name="anyURI" nillable="true" type="xs:anyURI" /> <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" /> <xs:element name="boolean" nillable="true" type="xs:boolean" /> <xs:element name="byte" nillable="true" type="xs:byte" /> <xs:element name="dateTime" nillable="true" type="xs:dateTime" /> <xs:element name="decimal" nillable="true" type="xs:decimal" /> <xs:element name="double" nillable="true" type="xs:double" /> <xs:element name="float" nillable="true" type="xs:float" /> <xs:element name="int" nillable="true" type="xs:int" /> <xs:element name="long" nillable="true" type="xs:long" /> <xs:element name="QName" nillable="true" type="xs:QName" /> <xs:element name="short" nillable="true" type="xs:short" /> <xs:element name="string" nillable="true" type="xs:string" /> <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" /> <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" /> <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" /> <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" /> <xs:element name="char" nillable="true" type="tns:char" /> <xs:simpleType name="char"> <xs:restriction base="xs:int" /> </xs:simpleType> <xs:element name="duration" nillable="true" type="tns:duration" /> <xs:simpleType name="duration"> <xs:restriction base="xs:duration"> <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" /> <xs:minInclusive value="-P10675199DT2H48M5.4775808S" /> <xs:maxInclusive value="P10675199DT2H48M5.4775807S" /> </xs:restriction> </xs:simpleType> <xs:element name="guid" nillable="true" type="tns:guid" /> <xs:simpleType name="guid"> <xs:restriction base="xs:string"> <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" /> </xs:restriction> </xs:simpleType> <xs:attribute name="FactoryType" type="xs:QName" /> <xs:attribute name="Id" type="xs:ID" /> <xs:attribute name="Ref" type="xs:IDREF" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Visma.Addo.Model.Entities.Enums.Deliveries" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Visma.Addo.Model.Entities.Enums.Deliveries" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> <xs:simpleType name="DeliveryMethod"> <xs:restriction base="xs:string"> <xs:enumeration value="None" /> <xs:enumeration value="Email" /> <xs:enumeration value="Apoteker" /> <xs:enumeration value="Nordea" /> <xs:enumeration value="Callback" /> <xs:enumeration value="EboksPrivate" /> <xs:enumeration value="GoogleDrive" /> <xs:enumeration value="Sftp" /> <xs:enumeration value="CommonEmail" /> <xs:enumeration value="VismaHrm" /> <xs:enumeration value="VismaHr" /> <xs:enumeration value="EboksCompany"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">13</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Sms"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">14</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="MicroWeb"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">15</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="DigitalPostPrivate"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">16</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="DigitalPostCompany"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">17</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="MitDkPrivate"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">18</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="MitDkCompany"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">19</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Kivra"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">20</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:element name="DeliveryMethod" nillable="true" type="tns:DeliveryMethod" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Visma.Addo.Model.Entities.Enums" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Visma.Addo.Model.Entities.Enums" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" /> <xs:simpleType name="AccountLevel"> <xs:restriction base="xs:string"> <xs:enumeration value="Now"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Test"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Enterprise"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Internal"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="SubAccount"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Starter"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> <xs:enumeration value="Subscription"> <xs:annotation> <xs:appinfo> <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue> </xs:appinfo> </xs:annotation> </xs:enumeration> </xs:restriction> </xs:simpleType> <xs:element name="AccountLevel" nillable="true" type="tns:AccountLevel" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.vismaaddo.net/services/signingservice/v2_0/messages/getaccountinfo/contact" elementFormDefault="qualified" targetNamespace="http://schemas.vismaaddo.net/services/signingservice/v2_0/messages/getaccountinfo/contact" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="ArrayOfContact"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="Contact" nillable="true" type="tns:Contact" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfContact" nillable="true" type="tns:ArrayOfContact" /> <xs:complexType name="Contact"> <xs:sequence> <xs:element minOccurs="0" name="Cvr" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="VATIN" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="Contact" nillable="true" type="tns:Contact" /> </xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema"> <tns:element name="schema"> <tns:complexType /> </tns:element> </tns:schema>