Hello All,
Does anybody can provide example of correct requests for ReturnofAllotmentShares and ConfirmationStatement
?
So, I tried to use this request’s body for ReturnofAllotmentShares
<GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:gt="http://www.govtalk.gov.uk/schemas/govtalk/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.govtalk.gov.uk/CM/envelope http://xmlgw.companieshouse.gov.uk/v2-1/schema/Egov_ch-v2-0.xsd">
<EnvelopeVersion>1.0</EnvelopeVersion>
<Header>
<MessageDetails>
<Class>ReturnofAllotmentShares</Class>
<Qualifier>request</Qualifier>
<TransactionID>1</TransactionID>
<GatewayTest>1</GatewayTest>
</MessageDetails>
<SenderDetails>
<IDAuthentication>
<SenderID>b55c***</SenderID>
<Authentication>
<Method>clear</Method>
<Value>3edafd****</Value>
</Authentication>
</IDAuthentication>
<EmailAddress>ro**.bihun@****.com</EmailAddress>
</SenderDetails>
</Header>
<GovTalkDetails>
<Keys />
</GovTalkDetails>
<Body>
<ReturnofAllotmentShares xmlns="http://xmlgw.companieshouse.gov.uk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlgw.companieshouse.gov.uk http://xmlgw.companieshouse.gov.uk/v1-0/schema/forms/ReturnofAllotmentShares-v3-0.xsd">
<StatementOfCapital>1487535</StatementOfCapital>
<StartPeriodSharesAllotted>2016-05-13</StartPeriodSharesAllotted>
<EndPeriodSharesAllotted>2016-05-13</EndPeriodSharesAllotted>
</ReturnofAllotmentShares>
</Body>
</GovTalkMessage>
And this one for ConfirmationStatement:
<GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:gt="http://www.govtalk.gov.uk/schemas/govtalk/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.govtalk.gov.uk/CM/envelope http://xmlgw.companieshouse.gov.uk/v2-1/schema/Egov_ch-v2-0.xsd">
<EnvelopeVersion>1.0</EnvelopeVersion>
<Header>
<MessageDetails>
<Class>ConfirmationStatement</Class>
<Qualifier>request</Qualifier>
<TransactionID>1</TransactionID>
<GatewayTest>1</GatewayTest>
</MessageDetails>
<SenderDetails>
<IDAuthentication>
<SenderID>b55c******d</SenderID>
<Authentication>
<Method>clear</Method>
<Value>3edafd******</Value>
</Authentication>
</IDAuthentication>
<EmailAddress>ro****n.bihun@*****.com</EmailAddress>
</SenderDetails>
</Header>
<GovTalkDetails>
<Keys />
</GovTalkDetails>
<Body>
<FormSubmission xmlns="http://xmlgw.companieshouse.gov.uk/Header" xmlns:bs="http://xmlgw.companieshouse.gov.uk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlgw.companieshouse.gov.uk/Header http://xmlgw.companieshouse.gov.uk/v1-0/schema/forms/FormSubmission-v2-9.xsd">
<FormHeader>
<CompanyNumber>11111111</CompanyNumber>
<CompanyName>EXAMPLE COMPANY</CompanyName>
<CompanyAuthenticationCode>123456</CompanyAuthenticationCode>
<PackageReference>1828</PackageReference>
<FormIdentifier>ConfirmationStatement</FormIdentifier>
<SubmissionNumber>BBBBBB</SubmissionNumber>
</FormHeader>
<DateSigned>2015-07-01</DateSigned>
<Form>
<ConfirmationStatement xmlns="http://xmlgw.companieshouse.gov.uk" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlgw.companieshouse.gov.uk http://xmlgw.companieshouse.gov.uk/v1-0/schema/forms/ConfirmationStatement-v1-0.xsd">
<ReviewDate>2015-08-30</ReviewDate>
<StateConfirmation>true</StateConfirmation>
</ConfirmationStatement>
</Form>
</FormSubmission>
</Body>
</GovTalkMessage>
But each time, I face with different errors such Supplied Schema has been expired
or XML failed schema validation
, and I’m stuck with this.
Would be good if anybody provides me correct request example.
Or could tell maybe I missed some steps, maybe I should make other requests before these and then use data from previous requests for these requests.