Reference for http://ws.veriscanonline.com/VSWebServices67/GetPlans
Get subscription plans
Url: http://ws.veriscanonline.com/VSWebServices67/GetPlans
HTTP Method: POST
Message direction | Format | Body |
---|---|---|
Request | Xml | Example,Schema |
Request | Json | Example |
Response | Xml | Example,Schema |
Response | Json | Example |
The following is an example request Xml body:
<RequestModel xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common"> <AppVersion>String content</AppVersion> <CompanyId>String content</CompanyId> <ComputerName>String content</ComputerName> <HardwareId>String content</HardwareId> <IsLive>true</IsLive> <TimeZoneId>String content</TimeZoneId> <UserId>2147483647</UserId> <Login>String content</Login> <Password>String content</Password> </RequestModel>
The following is an example request Json body:
{ "AppVersion":"String content", "CompanyId":"String content", "ComputerName":"String content", "HardwareId":"String content", "IsLive":true, "TimeZoneId":"String content", "UserId":2147483647, "Login":"String content", "Password":"String content" }
The following is an example response Xml body:
<SubscriptionPlansResponseModel xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Payments"> <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</ErrorCode> <Status xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">String content</Status> <StatusCode xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common">2147483647</StatusCode> <ValidationResult xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common"> <ResponseValidationResultItem> <Errors> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> </Errors> <Field>String content</Field> </ResponseValidationResultItem> <ResponseValidationResultItem> <Errors> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">String content</string> </Errors> <Field>String content</Field> </ResponseValidationResultItem> </ValidationResult> <PlanGroups> <StripePlanGroupResponseModel xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Stripe"> <Amount>2147483647</Amount> <Description>String content</Description> <IsRecommended>true</IsRecommended> <Name>String content</Name> <Plans> <StripePlanDetailsResponseModel> <Amount>2147483647</Amount> <AmountPerMonth>2147483647</AmountPerMonth> <AmountPerMonthString>String content</AmountPerMonthString> <Currency>String content</Currency> <Description>String content</Description> <FullName>String content</FullName> <Id>String content</Id> <Interval>String content</Interval> <IntervalCount>2147483647</IntervalCount> <IntervalString>String content</IntervalString> <Metadata> <KeyValueOfstringstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <Key>String content</Key> <Value>String content</Value> </KeyValueOfstringstring> <KeyValueOfstringstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <Key>String content</Key> <Value>String content</Value> </KeyValueOfstringstring> </Metadata> <Name>String content</Name> <TotalString>String content</TotalString> </StripePlanDetailsResponseModel> <StripePlanDetailsResponseModel> <Amount>2147483647</Amount> <AmountPerMonth>2147483647</AmountPerMonth> <AmountPerMonthString>String content</AmountPerMonthString> <Currency>String content</Currency> <Description>String content</Description> <FullName>String content</FullName> <Id>String content</Id> <Interval>String content</Interval> <IntervalCount>2147483647</IntervalCount> <IntervalString>String content</IntervalString> <Metadata> <KeyValueOfstringstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <Key>String content</Key> <Value>String content</Value> </KeyValueOfstringstring> <KeyValueOfstringstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <Key>String content</Key> <Value>String content</Value> </KeyValueOfstringstring> </Metadata> <Name>String content</Name> <TotalString>String content</TotalString> </StripePlanDetailsResponseModel> </Plans> </StripePlanGroupResponseModel> <StripePlanGroupResponseModel xmlns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Stripe"> <Amount>2147483647</Amount> <Description>String content</Description> <IsRecommended>true</IsRecommended> <Name>String content</Name> <Plans> <StripePlanDetailsResponseModel> <Amount>2147483647</Amount> <AmountPerMonth>2147483647</AmountPerMonth> <AmountPerMonthString>String content</AmountPerMonthString> <Currency>String content</Currency> <Description>String content</Description> <FullName>String content</FullName> <Id>String content</Id> <Interval>String content</Interval> <IntervalCount>2147483647</IntervalCount> <IntervalString>String content</IntervalString> <Metadata> <KeyValueOfstringstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <Key>String content</Key> <Value>String content</Value> </KeyValueOfstringstring> <KeyValueOfstringstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <Key>String content</Key> <Value>String content</Value> </KeyValueOfstringstring> </Metadata> <Name>String content</Name> <TotalString>String content</TotalString> </StripePlanDetailsResponseModel> <StripePlanDetailsResponseModel> <Amount>2147483647</Amount> <AmountPerMonth>2147483647</AmountPerMonth> <AmountPerMonthString>String content</AmountPerMonthString> <Currency>String content</Currency> <Description>String content</Description> <FullName>String content</FullName> <Id>String content</Id> <Interval>String content</Interval> <IntervalCount>2147483647</IntervalCount> <IntervalString>String content</IntervalString> <Metadata> <KeyValueOfstringstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <Key>String content</Key> <Value>String content</Value> </KeyValueOfstringstring> <KeyValueOfstringstring xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <Key>String content</Key> <Value>String content</Value> </KeyValueOfstringstring> </Metadata> <Name>String content</Name> <TotalString>String content</TotalString> </StripePlanDetailsResponseModel> </Plans> </StripePlanGroupResponseModel> </PlanGroups> </SubscriptionPlansResponseModel>
The following is an example response Json body:
{ "ErrorCode":"String content", "Status":"String content", "StatusCode":2147483647, "ValidationResult":[{ "Errors":["String content"], "Field":"String content" }], "PlanGroups":[{ "Amount":2147483647, "Description":"String content", "IsRecommended":true, "Name":"String content", "Plans":[{ "Amount":2147483647, "AmountPerMonth":2147483647, "AmountPerMonthString":"String content", "Currency":"String content", "Description":"String content", "FullName":"String content", "Id":"String content", "Interval":"String content", "IntervalCount":2147483647, "IntervalString":"String content", "Metadata":[{ "Key":"String content", "Value":"String content" }], "Name":"String content", "TotalString":"String content" }] }] }
The following is the request Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="RequestModel"> <xs:complexContent mixed="false"> <xs:extension base="tns:RequestModelBase"> <xs:sequence> <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="RequestModel" nillable="true" type="tns:RequestModel" /> <xs:complexType name="RequestModelBase"> <xs:sequence> <xs:element minOccurs="0" name="AppVersion" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="CompanyId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ComputerName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="HardwareId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IsLive" type="xs:boolean" /> <xs:element minOccurs="0" name="TimeZoneId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="UserId" nillable="true" type="xs:int" /> </xs:sequence> </xs:complexType> <xs:element name="RequestModelBase" nillable="true" type="tns:RequestModelBase" /> </xs:schema>
Additional request 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>
<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>
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Payments" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Payments" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Stripe" /> <xs:import namespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" /> <xs:complexType name="SubscriptionPlansResponseModel"> <xs:complexContent mixed="false"> <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" base="q1:ResponseModel"> <xs:sequence> <xs:element minOccurs="0" name="PlanGroups" nillable="true" xmlns:q2="http://schemas.datacontract.org/2004/07/VSWebService.Models.Stripe" type="q2:ArrayOfStripePlanGroupResponseModel" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="SubscriptionPlansResponseModel" nillable="true" type="tns:SubscriptionPlansResponseModel" /> </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/VSWebService.Models.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <xs:complexType name="ResponseModel"> <xs:sequence> <xs:element minOccurs="0" name="ErrorCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="StatusCode" type="xs:int" /> <xs:element minOccurs="0" name="ValidationResult" nillable="true" type="tns:ArrayOfResponseValidationResultItem" /> </xs:sequence> </xs:complexType> <xs:element name="ResponseModel" nillable="true" type="tns:ResponseModel" /> <xs:complexType name="ArrayOfResponseValidationResultItem"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="ResponseValidationResultItem" nillable="true" type="tns:ResponseValidationResultItem" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfResponseValidationResultItem" nillable="true" type="tns:ArrayOfResponseValidationResultItem" /> <xs:complexType name="ResponseValidationResultItem"> <xs:sequence> <xs:element minOccurs="0" name="Errors" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" /> <xs:element minOccurs="0" name="Field" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="ResponseValidationResultItem" nillable="true" type="tns:ResponseValidationResultItem" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="ArrayOfstring"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" /> <xs:complexType name="ArrayOfKeyValueOfstringstring"> <xs:annotation> <xs:appinfo> <IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary> </xs:appinfo> </xs:annotation> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfstringstring"> <xs:complexType> <xs:sequence> <xs:element name="Key" nillable="true" type="xs:string" /> <xs:element name="Value" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfKeyValueOfstringstring" nillable="true" type="tns:ArrayOfKeyValueOfstringstring" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VSWebService.Models.Stripe" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VSWebService.Models.Stripe" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <xs:complexType name="ArrayOfStripePlanGroupResponseModel"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="StripePlanGroupResponseModel" nillable="true" type="tns:StripePlanGroupResponseModel" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfStripePlanGroupResponseModel" nillable="true" type="tns:ArrayOfStripePlanGroupResponseModel" /> <xs:complexType name="StripePlanGroupResponseModel"> <xs:sequence> <xs:element minOccurs="0" name="Amount" type="xs:int" /> <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IsRecommended" type="xs:boolean" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Plans" nillable="true" type="tns:ArrayOfStripePlanDetailsResponseModel" /> </xs:sequence> </xs:complexType> <xs:element name="StripePlanGroupResponseModel" nillable="true" type="tns:StripePlanGroupResponseModel" /> <xs:complexType name="ArrayOfStripePlanDetailsResponseModel"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="StripePlanDetailsResponseModel" nillable="true" type="tns:StripePlanDetailsResponseModel" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfStripePlanDetailsResponseModel" nillable="true" type="tns:ArrayOfStripePlanDetailsResponseModel" /> <xs:complexType name="StripePlanDetailsResponseModel"> <xs:sequence> <xs:element minOccurs="0" name="Amount" type="xs:int" /> <xs:element minOccurs="0" name="AmountPerMonth" type="xs:int" /> <xs:element minOccurs="0" name="AmountPerMonthString" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Currency" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FullName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Interval" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IntervalCount" type="xs:int" /> <xs:element minOccurs="0" name="IntervalString" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Metadata" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfKeyValueOfstringstring" /> <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TotalString" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:element name="StripePlanDetailsResponseModel" nillable="true" type="tns:StripePlanDetailsResponseModel" /> </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>