Service1
Click here for a complete list of operations.
ContractorADD
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /staffagentwsBeta/UpdateTimeSheet.asmx HTTP/1.1
Host: www.webservicesataclick.co.za
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ContractorADD"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ContractorADD xmlns="http://tempuri.org/">
<Username>string</Username>
<Userpassword>string</Userpassword>
<IDNum>string</IDNum>
<EmployeeTitle>int</EmployeeTitle>
<FirstName>int</FirstName>
<Surname>string</Surname>
<BlackList>int</BlackList>
<Initials>string</Initials>
<NickName>string</NickName>
<Gender>string</Gender>
<Race>int</Race>
<Language>int</Language>
<ContractorType>int</ContractorType>
<Nationality>int</Nationality>
<WorkDate>dateTime</WorkDate>
<PermitNumber>string</PermitNumber>
<ReferenceProfileID>int</ReferenceProfileID>
<PhysicalAddress1>string</PhysicalAddress1>
<PhysicalAddress2>string</PhysicalAddress2>
<PhysicalAddress3>string</PhysicalAddress3>
<PhysicalAddressCode>string</PhysicalAddressCode>
<PostalAddress1>string</PostalAddress1>
<PostalAddress2>string</PostalAddress2>
<PostalAddress3>string</PostalAddress3>
<PostalAddressCode>string</PostalAddressCode>
<TaxNumber>string</TaxNumber>
<HealthStatus>int</HealthStatus>
<MaritalStatus>int</MaritalStatus>
<NoDepen>string</NoDepen>
<BargainCouncelID>string</BargainCouncelID>
<Phone>string</Phone>
<Fax>string</Fax>
<Cell>string</Cell>
<Email>string</Email>
<PassPortNo>string</PassPortNo>
<PassExpiryDate>dateTime</PassExpiryDate>
<IPAddress>string</IPAddress>
<TestListID>int</TestListID>
<NOKContactRelasion>string</NOKContactRelasion>
<NOKContactPerson>string</NOKContactPerson>
<NOKPhone>string</NOKPhone>
<NOKFax>string</NOKFax>
<NOKCell>string</NOKCell>
<NOKEmail>string</NOKEmail>
<NOKAddress1>string</NOKAddress1>
<NOKAddress2>string</NOKAddress2>
<NOKAddress3>string</NOKAddress3>
<NOKCode>string</NOKCode>
<NOKCity>string</NOKCity>
<NOKPAddress1>string</NOKPAddress1>
<NOKPAddress2>string</NOKPAddress2>
<NOKPAddress3>string</NOKPAddress3>
<NOKPCode>string</NOKPCode>
<NOKPCity>string</NOKPCity>
<NOKContactPrim>int</NOKContactPrim>
<CustomerID>string</CustomerID>
<OutSuccess>string</OutSuccess>
<OutError>string</OutError>
<LabourID>string</LabourID>
<ContractorID>int</ContractorID>
</ContractorADD>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ContractorADDResponse xmlns="http://tempuri.org/">
<ContractorADDResult />
<OutSuccess>string</OutSuccess>
<OutError>string</OutError>
<LabourID>string</LabourID>
<ContractorID>int</ContractorID>
</ContractorADDResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /staffagentwsBeta/UpdateTimeSheet.asmx HTTP/1.1
Host: www.webservicesataclick.co.za
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ContractorADD xmlns="http://tempuri.org/">
<Username>string</Username>
<Userpassword>string</Userpassword>
<IDNum>string</IDNum>
<EmployeeTitle>int</EmployeeTitle>
<FirstName>int</FirstName>
<Surname>string</Surname>
<BlackList>int</BlackList>
<Initials>string</Initials>
<NickName>string</NickName>
<Gender>string</Gender>
<Race>int</Race>
<Language>int</Language>
<ContractorType>int</ContractorType>
<Nationality>int</Nationality>
<WorkDate>dateTime</WorkDate>
<PermitNumber>string</PermitNumber>
<ReferenceProfileID>int</ReferenceProfileID>
<PhysicalAddress1>string</PhysicalAddress1>
<PhysicalAddress2>string</PhysicalAddress2>
<PhysicalAddress3>string</PhysicalAddress3>
<PhysicalAddressCode>string</PhysicalAddressCode>
<PostalAddress1>string</PostalAddress1>
<PostalAddress2>string</PostalAddress2>
<PostalAddress3>string</PostalAddress3>
<PostalAddressCode>string</PostalAddressCode>
<TaxNumber>string</TaxNumber>
<HealthStatus>int</HealthStatus>
<MaritalStatus>int</MaritalStatus>
<NoDepen>string</NoDepen>
<BargainCouncelID>string</BargainCouncelID>
<Phone>string</Phone>
<Fax>string</Fax>
<Cell>string</Cell>
<Email>string</Email>
<PassPortNo>string</PassPortNo>
<PassExpiryDate>dateTime</PassExpiryDate>
<IPAddress>string</IPAddress>
<TestListID>int</TestListID>
<NOKContactRelasion>string</NOKContactRelasion>
<NOKContactPerson>string</NOKContactPerson>
<NOKPhone>string</NOKPhone>
<NOKFax>string</NOKFax>
<NOKCell>string</NOKCell>
<NOKEmail>string</NOKEmail>
<NOKAddress1>string</NOKAddress1>
<NOKAddress2>string</NOKAddress2>
<NOKAddress3>string</NOKAddress3>
<NOKCode>string</NOKCode>
<NOKCity>string</NOKCity>
<NOKPAddress1>string</NOKPAddress1>
<NOKPAddress2>string</NOKPAddress2>
<NOKPAddress3>string</NOKPAddress3>
<NOKPCode>string</NOKPCode>
<NOKPCity>string</NOKPCity>
<NOKContactPrim>int</NOKContactPrim>
<CustomerID>string</CustomerID>
<OutSuccess>string</OutSuccess>
<OutError>string</OutError>
<LabourID>string</LabourID>
<ContractorID>int</ContractorID>
</ContractorADD>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ContractorADDResponse xmlns="http://tempuri.org/">
<ContractorADDResult />
<OutSuccess>string</OutSuccess>
<OutError>string</OutError>
<LabourID>string</LabourID>
<ContractorID>int</ContractorID>
</ContractorADDResponse>
</soap12:Body>
</soap12:Envelope>