POST api/CallObjectives

Request Information

URI Parameters

None.

Body Parameters

Collection of CallObjective
NameDescriptionTypeAdditional information
Call_SiteUID

integer

None.

CallUID

integer

None.

AgentOutObj_SiteUID

integer

None.

AgentOutObjUID

integer

None.

ObjectiveUID

integer

None.

EntryNumber

byte

None.

IsComplete

boolean

None.

ObjStatusUID

integer

None.

Notes

string

None.

CreationDate

date

None.

LastModifiedDate

date

None.

LastModifiedBy

string

None.

EffectiveDate

date

None.

ExpiryDate

date

None.

ServerCreationDate

date

None.

ServerLastModifiedDate

date

None.

QRCode

string

None.

Uid

integer

None.

SiteUID

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Call_SiteUID": 1,
    "CallUID": 2,
    "AgentOutObj_SiteUID": 1,
    "AgentOutObjUID": 1,
    "ObjectiveUID": 1,
    "EntryNumber": 64,
    "IsComplete": true,
    "ObjStatusUID": 1,
    "Notes": "sample string 4",
    "CreationDate": "2025-02-12T14:18:40.4255654+05:30",
    "LastModifiedDate": "2025-02-12T14:18:40.4255654+05:30",
    "LastModifiedBy": "sample string 5",
    "EffectiveDate": "2025-02-12T14:18:40.4255654+05:30",
    "ExpiryDate": "2025-02-12T14:18:40.4255654+05:30",
    "ServerCreationDate": "2025-02-12T14:18:40.4255654+05:30",
    "ServerLastModifiedDate": "2025-02-12T14:18:40.4255654+05:30",
    "QRCode": "sample string 6",
    "Uid": 7,
    "SiteUID": 1
  },
  {
    "Call_SiteUID": 1,
    "CallUID": 2,
    "AgentOutObj_SiteUID": 1,
    "AgentOutObjUID": 1,
    "ObjectiveUID": 1,
    "EntryNumber": 64,
    "IsComplete": true,
    "ObjStatusUID": 1,
    "Notes": "sample string 4",
    "CreationDate": "2025-02-12T14:18:40.4255654+05:30",
    "LastModifiedDate": "2025-02-12T14:18:40.4255654+05:30",
    "LastModifiedBy": "sample string 5",
    "EffectiveDate": "2025-02-12T14:18:40.4255654+05:30",
    "ExpiryDate": "2025-02-12T14:18:40.4255654+05:30",
    "ServerCreationDate": "2025-02-12T14:18:40.4255654+05:30",
    "ServerLastModifiedDate": "2025-02-12T14:18:40.4255654+05:30",
    "QRCode": "sample string 6",
    "Uid": 7,
    "SiteUID": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfCallObjective xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VantageCore.Entity.Model">
  <CallObjective>
    <AgentOutObjUID>1</AgentOutObjUID>
    <AgentOutObj_SiteUID>1</AgentOutObj_SiteUID>
    <CallUID>2</CallUID>
    <Call_SiteUID>1</Call_SiteUID>
    <CreationDate>2025-02-12T14:18:40.4255654+05:30</CreationDate>
    <EffectiveDate>2025-02-12T14:18:40.4255654+05:30</EffectiveDate>
    <EntryNumber>64</EntryNumber>
    <ExpiryDate>2025-02-12T14:18:40.4255654+05:30</ExpiryDate>
    <IsComplete>true</IsComplete>
    <LastModifiedBy>sample string 5</LastModifiedBy>
    <LastModifiedDate>2025-02-12T14:18:40.4255654+05:30</LastModifiedDate>
    <Notes>sample string 4</Notes>
    <ObjStatusUID>1</ObjStatusUID>
    <ObjectiveUID>1</ObjectiveUID>
    <QRCode>sample string 6</QRCode>
    <ServerCreationDate>2025-02-12T14:18:40.4255654+05:30</ServerCreationDate>
    <ServerLastModifiedDate>2025-02-12T14:18:40.4255654+05:30</ServerLastModifiedDate>
    <SiteUID>1</SiteUID>
    <Uid>7</Uid>
  </CallObjective>
  <CallObjective>
    <AgentOutObjUID>1</AgentOutObjUID>
    <AgentOutObj_SiteUID>1</AgentOutObj_SiteUID>
    <CallUID>2</CallUID>
    <Call_SiteUID>1</Call_SiteUID>
    <CreationDate>2025-02-12T14:18:40.4255654+05:30</CreationDate>
    <EffectiveDate>2025-02-12T14:18:40.4255654+05:30</EffectiveDate>
    <EntryNumber>64</EntryNumber>
    <ExpiryDate>2025-02-12T14:18:40.4255654+05:30</ExpiryDate>
    <IsComplete>true</IsComplete>
    <LastModifiedBy>sample string 5</LastModifiedBy>
    <LastModifiedDate>2025-02-12T14:18:40.4255654+05:30</LastModifiedDate>
    <Notes>sample string 4</Notes>
    <ObjStatusUID>1</ObjStatusUID>
    <ObjectiveUID>1</ObjectiveUID>
    <QRCode>sample string 6</QRCode>
    <ServerCreationDate>2025-02-12T14:18:40.4255654+05:30</ServerCreationDate>
    <ServerLastModifiedDate>2025-02-12T14:18:40.4255654+05:30</ServerLastModifiedDate>
    <SiteUID>1</SiteUID>
    <Uid>7</Uid>
  </CallObjective>
</ArrayOfCallObjective>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />