Faturimi
Click here for a complete list of operations.
AddOrUpdateContacts
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 /faturimi2010/faturimi.asmx HTTP/1.1
Host: web.mynnet.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://faturimi.org/AddOrUpdateContacts"
<?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:Header>
<Credentials xmlns="http://faturimi.org/">
<Username>string</Username>
<Password>string</Password>
<Server>string</Server>
<Database>string</Database>
<Client>string</Client>
</Credentials>
</soap:Header>
<soap:Body>
<AddOrUpdateContacts xmlns="http://faturimi.org/">
<ID>long</ID>
<fkContactType>long</fkContactType>
<fkContactSaleType>long</fkContactSaleType>
<Company>string</Company>
<FiscalNo>string</FiscalNo>
<BusinessNo>string</BusinessNo>
<VatNo>string</VatNo>
<fkBank>long</fkBank>
<fkTitle>long</fkTitle>
<FirstName>string</FirstName>
<Name>string</Name>
<Street>string</Street>
<Region>string</Region>
<City>string</City>
<ZIPCode>string</ZIPCode>
<fkCountry>long</fkCountry>
<Phone>string</Phone>
<MobilePhone>string</MobilePhone>
<Fax>string</Fax>
<Email>string</Email>
<Homepage>string</Homepage>
<creationDate>dateTime</creationDate>
<RecipientName>string</RecipientName>
<RecipientStreet>string</RecipientStreet>
<RecipientCity>string</RecipientCity>
<RecipientZIPCode>string</RecipientZIPCode>
<fkRecipientCountry>long</fkRecipientCountry>
<fkLanguage>long</fkLanguage>
<User>string</User>
<BankAccountNr>string</BankAccountNr>
<SwiftCode>string</SwiftCode>
<Comment>string</Comment>
<Type>string</Type>
<Password>string</Password>
<CreatedBy>string</CreatedBy>
<ChangedBy>string</ChangedBy>
<Status>short</Status>
</AddOrUpdateContacts>
</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>
<AddOrUpdateContactsResponse xmlns="http://faturimi.org/">
<AddOrUpdateContactsResult>long</AddOrUpdateContactsResult>
</AddOrUpdateContactsResponse>
</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 /faturimi2010/faturimi.asmx HTTP/1.1
Host: web.mynnet.com
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:Header>
<Credentials xmlns="http://faturimi.org/">
<Username>string</Username>
<Password>string</Password>
<Server>string</Server>
<Database>string</Database>
<Client>string</Client>
</Credentials>
</soap12:Header>
<soap12:Body>
<AddOrUpdateContacts xmlns="http://faturimi.org/">
<ID>long</ID>
<fkContactType>long</fkContactType>
<fkContactSaleType>long</fkContactSaleType>
<Company>string</Company>
<FiscalNo>string</FiscalNo>
<BusinessNo>string</BusinessNo>
<VatNo>string</VatNo>
<fkBank>long</fkBank>
<fkTitle>long</fkTitle>
<FirstName>string</FirstName>
<Name>string</Name>
<Street>string</Street>
<Region>string</Region>
<City>string</City>
<ZIPCode>string</ZIPCode>
<fkCountry>long</fkCountry>
<Phone>string</Phone>
<MobilePhone>string</MobilePhone>
<Fax>string</Fax>
<Email>string</Email>
<Homepage>string</Homepage>
<creationDate>dateTime</creationDate>
<RecipientName>string</RecipientName>
<RecipientStreet>string</RecipientStreet>
<RecipientCity>string</RecipientCity>
<RecipientZIPCode>string</RecipientZIPCode>
<fkRecipientCountry>long</fkRecipientCountry>
<fkLanguage>long</fkLanguage>
<User>string</User>
<BankAccountNr>string</BankAccountNr>
<SwiftCode>string</SwiftCode>
<Comment>string</Comment>
<Type>string</Type>
<Password>string</Password>
<CreatedBy>string</CreatedBy>
<ChangedBy>string</ChangedBy>
<Status>short</Status>
</AddOrUpdateContacts>
</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>
<AddOrUpdateContactsResponse xmlns="http://faturimi.org/">
<AddOrUpdateContactsResult>long</AddOrUpdateContactsResult>
</AddOrUpdateContactsResponse>
</soap12:Body>
</soap12:Envelope>