HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/VNTenantAgreement HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: application/xml
Content-Length: length
<VNTenantAgreement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
<ContentId>0</ContentId>
<FeatureName>String</FeatureName>
<License>String</License>
</VNTenantAgreement>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<VNTenantAgreementResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
<ContentId>0</ContentId>
<FeatureName>String</FeatureName>
<License>String</License>
<VNDIDTenantAgreements xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.VirtualNumbers">
<d2p1:VNDIDProviderAgreement>
<CreatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</Id>
<RowVersion xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</RowVersion>
<UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</UpdatedOn>
<d2p1:DIDSupplierAPIID>0</d2p1:DIDSupplierAPIID>
<d2p1:Login>String</d2p1:Login>
<d2p1:Name>String</d2p1:Name>
<d2p1:Notes>String</d2p1:Notes>
<d2p1:Password>String</d2p1:Password>
<d2p1:TenantID>0</d2p1:TenantID>
</d2p1:VNDIDProviderAgreement>
</VNDIDTenantAgreements>
</VNTenantAgreementResponse>