TOP

AddUpdateNote()

Part Of: Note Webservice 3.0

WSDL:

https://webservices.vin65.com/V300/NoteService.cfc?wsdl

Australian URL:

https://webservices.aus.vin65.com/V300/NoteService.cfc?wsdl

Description:

Use the AddUpdateNote() function to either add a new note or update a current note. Required fields are indicated by a '*'

Parameters:

Attribute Data Type Default Description
WebsiteID* UUID   Only required for Enterprise Webservices
UUID of the Vin65 Website
 NoteID UUID   UUID of the Vin65 Note 
Type* Enumerated
("Flag", "Note")
   
Subject* String 50    
NoteDate* DateTime    
Note String    
RelatedTo* Enumerated
("Contact", "Order")
   
KeyCodeID* UUID   UUID of either the Contact or Order in Vin65
DateAdded DateTime   Controlled by Vin65 System
DateModified DateTime   Controlled by Vin65 System

Sample Request:

<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
<soap:Body>
  <AddUpdateNote>
    <Request>
      <Security>
        <Username>//Your Username//</Username>
        <Password>//Your Password//</Password>
      </Security>
      <Note>
        <WebsiteID>71e67a5c-2264-112b-b1f4-a6d602ad8bb4</WebsiteID>
        <NoteID>43e15e63-2264-112b-b157-70b1cc864227</NoteID>
        <Type>Note</Type>
        <Subject>This is a samlple subject</Subject>
        <Note>This is a sample note</Note>
        <NoteDate>2011-09-12T12:21:43</NoteDate> 
        <RelatedTo>Contact</RelatedTo>
        <KeyCodeID>754a4faa-9eff-9fd7-5fb3-06656b2c47c6</KeyCodeID>
      </Note>
      <Mode>Strict</Mode>
    </Request>
</AddUpdateNote>
</soap:Body>
</soap:Envelope>  

Sample Response:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="https://sche mas.xmlsoap.org/soap/envelope/" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
  <AddUpdateNoteResponse>
    <AddUpdateNoteReturn>
      <Errors></Errors>
      <IsSuccessful>true</IsSuccessful>
      <NoteID>43e15e63-2264-112b-b157-70b1cc864227</NoteID>
      <RecordCount>1</RecordCount>
    </AddUpdateNoteReturn>
  </AddUpdateNoteResponse>
</soapenv:Body>
</soapenv:Envelope> 

Page Top