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>(String)</LastContacted>
      <DateRequiredFollowUp>(String)</DateRequiredFollowUp>
      <Status>(String)</Status>
      <Notes>(String)</Notes>
    </CustomerLog>
  </CustomerLogs>
</AddCustomerLog>

JSON POST

{
  "CustomerLogs": {
    "CustomerLog": [ {
      "AllocatedTo":"String",
      "FollowUpType":"String",
      "Username":"String",
      "CustomerName":"String",
      "LastContacted":"String",
      "DateRequiredFollowUp":"String",
      "Status":"String",
      "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(255)
Username Optional String(255)
CustomerName Optional String(255)
LastContacted Optional String(50)
DateRequiredFollowUp Optional String(50)
Status Optional String(50)
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