To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /Accounting/Pension/OpenDeclarations HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PensionDeclarationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Accounting">
<errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</errors>
<statusCode>0</statusCode>
<messageType>0</messageType>
<message>String</message>
<result>
<DeclarationResponse>
<Id>00000000-0000-0000-0000-000000000000</Id>
<DeclarationNumber>String</DeclarationNumber>
<OrganizationId>00000000-0000-0000-0000-000000000000</OrganizationId>
<OrganizationCode>String</OrganizationCode>
<OrganizationName>String</OrganizationName>
<IsPublicAgencyDeclaration>false</IsPublicAgencyDeclaration>
<IsDraft>false</IsDraft>
<IsOpen>false</IsOpen>
<IsPending>false</IsPending>
<IsClosed>false</IsClosed>
<IsSimple>false</IsSimple>
<Month>0</Month>
<TotalAmount>0</TotalAmount>
<ActivationDate>0001-01-01T00:00:00</ActivationDate>
<ClosingDate>0001-01-01T00:00:00</ClosingDate>
<LastModificationDate>0001-01-01T00:00:00</LastModificationDate>
<IsStarted>false</IsStarted>
<IsFinished>false</IsFinished>
<LastPendingDate>0001-01-01T00:00:00</LastPendingDate>
<TotalEmployees>0</TotalEmployees>
<ProcessedItems>0</ProcessedItems>
<InvalidCount>0</InvalidCount>
<Errors>0</Errors>
<Year>0</Year>
<Type>0</Type>
<TypeName>String</TypeName>
<ForeignOrganizationName>String</ForeignOrganizationName>
<declarationDetails>
<PensionDeclarationDetailsHead>
<currentPage>0</currentPage>
<pageSize>0</pageSize>
<pageCount>0</pageCount>
<rowCount>0</rowCount>
<sumAmount>0</sumAmount>
<rows>
<PensionDeclarationDetails>
<id>String</id>
<declarationId>String</declarationId>
<personalIdentificationNumber>String</personalIdentificationNumber>
<firstName>String</firstName>
<lastName>String</lastName>
<grossSalary>0</grossSalary>
<additionalBenefits>0</additionalBenefits>
<nonCashBenefits>0</nonCashBenefits>
<otherWithHeldAmount>0</otherWithHeldAmount>
<incomeTax>0</incomeTax>
<netAmount>0</netAmount>
<employeeContribution>0</employeeContribution>
<organizationContribution>0</organizationContribution>
<optIn>false</optIn>
<newGrossSalary>0</newGrossSalary>
<newAdditionalBenefits>0</newAdditionalBenefits>
<newNonCashBenefits>0</newNonCashBenefits>
<newOtherWithHeldAmount>0</newOtherWithHeldAmount>
<newIncomeTax>0</newIncomeTax>
<newNetAmount>0</newNetAmount>
<newEmployeeContribution>0</newEmployeeContribution>
<newOrganizationContribution>0</newOrganizationContribution>
<newOptIn>false</newOptIn>
<payedRollId>0</payedRollId>
<slPayedRollId>0</slPayedRollId>
<beginDate>0001-01-01T00:00:00</beginDate>
<endDate>0001-01-01T00:00:00</endDate>
</PensionDeclarationDetails>
</rows>
</PensionDeclarationDetailsHead>
</declarationDetails>
</DeclarationResponse>
</result>
</PensionDeclarationResponse>