This article has moved to a new home. View the updated version

API - AddCustomerLog

Overview

Endpoint URL https://www.yournetosite.com.au/do/WS/NetoAPI
Method POST
XML Headers
NETOAPI_ACTION AddCustomerLog
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
JSON Headers
NETOAPI_ACTION AddCustomerLog
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
Accept application/json
Description Use this call to add a new customer log.
XSD Schema AddCustomerLog XSD   |   AddCustomerLog Response XSD

AddCustomerLog Post

XML POST

<?xml version="1.0" encoding="utf-8"?>
<AddCustomerLog>
  <CustomerLogs>
    <CustomerLog>
      <AllocatedTo>(String)</AllocatedTo>
      <FollowUpType>(String)</FollowUpType>
      <Username>(String)</Username>
      <CustomerName>(String)</CustomerName>
      <LastContacted>(DateTime)</LastContacted>
      <DateRequiredFollowUp>(DateTime)</DateRequiredFollowUp>
      <Status></Status>
      <Notes>(String)</Notes>
    </CustomerLog>
  </CustomerLogs>
</AddCustomerLog>

JSON POST

{
  "CustomerLogs": {
    "CustomerLog": [ {
      "AllocatedTo":"String",
      "FollowUpType":"String",
      "Username":"String",
      "CustomerName":"String",
      "LastContacted":"DateTime",
      "DateRequiredFollowUp":"DateTime",
      "Status":"Enumeration",
      "Notes":"String"
    } ]
  } 
}

<CustomerLogs>

Element Name Required Field Type / Options
CustomerLog Optional
Supports Multiple Elements
CustomerLogType

<CustomerLog>

Element Name Required Field Type / Options
AllocatedTo Optional String(255)
FollowUpType Optional String(50)
Username Optional String(25)
CustomerName Optional String(100)
LastContacted Optional DateTime
DateRequiredFollowUp Optional DateTime
Status Optional Enumeration(Require Recontact, Recontacting, Completed)
Notes Optional String

AddCustomerLog Responses

XML Response

<?xml version="1.0" encoding="utf-8"?>
<AddCustomerLog>
  <CustomerLog>
    <LogID>(Integer)</LogID>
  </CustomerLog>  <Messages>
    <Error>
      <Message>(String)</Message>
      <SeverityCode>(String)</SeverityCode>
      <Description>(String)</Description>
    </Error>
    <Warning>
      <Message>(String)</Message>
      <SeverityCode>(String)</SeverityCode>
    </Warning>
  </Messages>
</AddCustomerLog>

JSON Response

{
  "CustomerLog": [ {
    "LogID":"Integer"
  } ],  "Messages": {
    "Error": [ {
      "Message":"String",
      "SeverityCode":"String",
      "Description":"String"
    } ],
    "Warning": [ {
      "Message":"String",
      "SeverityCode":"String"
    } ]
  } 
}

<CustomerLog>

Element Name Field Type
LogID Integer

<Messages>

Element Name Field Type
Error ErrorType
Warning WarningType

<Error>

Element Name Field Type
Message String
SeverityCode String
Description String

<Warning>

Element Name Field Type
Message String
SeverityCode String