HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/DeleteCrmAssociatedEmployersRequest HTTP/1.1
Host: testapi.peraadministrators.com
Content-Type: application/xml
Content-Length: length
<DeleteCrmAssociatedEmployersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeraAdministrators.API.Internal">
<AssociatedEmployer>
<CommissionStructure>String</CommissionStructure>
<Employer>
<AccountNumber>String</AccountNumber>
<AccountType>String</AccountType>
<BankAddress>String</BankAddress>
<BankCity>String</BankCity>
<BankName>String</BankName>
<BankState>String</BankState>
<BankZip>String</BankZip>
<City>String</City>
<ContactId>0</ContactId>
<EIN>String</EIN>
<EmployeeCount>0</EmployeeCount>
<Id>0</Id>
<NCESId>String</NCESId>
<Name>String</Name>
<PartnerFirstName>String</PartnerFirstName>
<PartnerId>0</PartnerId>
<PartnerLastName>String</PartnerLastName>
<PayrollTriggerDate>0001-01-01T00:00:00</PayrollTriggerDate>
<RoutingNumber>String</RoutingNumber>
<SchoolSiteCount>0</SchoolSiteCount>
<StateId>0</StateId>
<Street>String</Street>
<Zip>String</Zip>
</Employer>
<EmployerId>0</EmployerId>
<Id>0</Id>
<PartnerId>0</PartnerId>
</AssociatedEmployer>
</DeleteCrmAssociatedEmployersRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<DeleteCrmAssociatedEmployersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeraAdministrators.API.Internal">
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
</d2p1:ResponseError>
</d2p1:Errors>
</ResponseStatus>
</DeleteCrmAssociatedEmployersResponse>