POST api/v1/SynchronizeOne

Request Information

URI Parameters

None.

Body Parameters

SynchronizeOneParameter
NameDescriptionTypeAdditional information
Users

Collection of User

None.

Teams

Collection of Team

None.

JournalItem

JournalItem

None.

Request Formats

application/json, text/json

Sample:
{
  "Users": [
    {
      "ID": "sample string 1",
      "SP_ID": 2,
      "DisplayName": "sample string 3",
      "LoginName": "sample string 4",
      "SP_IsSiteAdmin": true,
      "EmailAddresses": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "ID": "sample string 1",
      "SP_ID": 2,
      "DisplayName": "sample string 3",
      "LoginName": "sample string 4",
      "SP_IsSiteAdmin": true,
      "EmailAddresses": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "Teams": [
    {
      "ID": "sample string 1",
      "SP_ID": "sample string 2",
      "Name": "sample string 3",
      "SystemGenerated": true,
      "IsDomainGroup": true,
      "SecurityIdentifier": "sample string 6",
      "SamAccountName": "sample string 7",
      "TeamMemberLoginNames": [
        "sample string 1",
        "sample string 2"
      ],
      "TeamMemberWithDomainGroups": [
        {
          "LoginName": "sample string 1",
          "DomainGroupSecurityIdentifier": "sample string 2",
          "DomainGroupSamAccountName": "sample string 3",
          "DomainGroupName": "sample string 4"
        },
        {
          "LoginName": "sample string 1",
          "DomainGroupSecurityIdentifier": "sample string 2",
          "DomainGroupSamAccountName": "sample string 3",
          "DomainGroupName": "sample string 4"
        }
      ]
    },
    {
      "ID": "sample string 1",
      "SP_ID": "sample string 2",
      "Name": "sample string 3",
      "SystemGenerated": true,
      "IsDomainGroup": true,
      "SecurityIdentifier": "sample string 6",
      "SamAccountName": "sample string 7",
      "TeamMemberLoginNames": [
        "sample string 1",
        "sample string 2"
      ],
      "TeamMemberWithDomainGroups": [
        {
          "LoginName": "sample string 1",
          "DomainGroupSecurityIdentifier": "sample string 2",
          "DomainGroupSamAccountName": "sample string 3",
          "DomainGroupName": "sample string 4"
        },
        {
          "LoginName": "sample string 1",
          "DomainGroupSecurityIdentifier": "sample string 2",
          "DomainGroupSamAccountName": "sample string 3",
          "DomainGroupName": "sample string 4"
        }
      ]
    }
  ],
  "JournalItem": {
    "ID": "sample string 1",
    "SP_ID": 2,
    "Name": "sample string 3",
    "ParentID": "sample string 4",
    "JournalTypeID": "sample string 5",
    "JournalTypeName": "sample string 6",
    "EmailAddresses": [
      "sample string 1",
      "sample string 2"
    ],
    "AccessControlInfos": [
      {
        "TeamSP_ID": "sample string 1",
        "AddPermission": true,
        "DeletePermission": true,
        "IsWorkPointSecurity": true
      },
      {
        "TeamSP_ID": "sample string 1",
        "AddPermission": true,
        "DeletePermission": true,
        "IsWorkPointSecurity": true
      }
    ],
    "FieldValues": [
      {
        "JournalItemID": "sample string 1",
        "JournalTypeFieldID": 2,
        "Value": "sample string 3"
      },
      {
        "JournalItemID": "sample string 1",
        "JournalTypeFieldID": 2,
        "Value": "sample string 3"
      }
    ],
    "PerformPendingCheck": true,
    "Editor": "sample string 7",
    "ModifiedDate": "2024-11-21T09:37:52.1500031+00:00",
    "SharePointEmailAddresses": "sample string 9"
  }
}

application/xml, text/xml

Sample:
<SynchronizeOneParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model">
  <JournalItem>
    <AccessControlInfos>
      <JournalItem.AccessControlInfo>
        <AddPermission>true</AddPermission>
        <DeletePermission>true</DeletePermission>
        <IsWorkPointSecurity>true</IsWorkPointSecurity>
        <TeamSP_ID>sample string 1</TeamSP_ID>
      </JournalItem.AccessControlInfo>
      <JournalItem.AccessControlInfo>
        <AddPermission>true</AddPermission>
        <DeletePermission>true</DeletePermission>
        <IsWorkPointSecurity>true</IsWorkPointSecurity>
        <TeamSP_ID>sample string 1</TeamSP_ID>
      </JournalItem.AccessControlInfo>
    </AccessControlInfos>
    <Editor>sample string 7</Editor>
    <EmailAddresses xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </EmailAddresses>
    <FieldValues>
      <JournalItemFieldValue>
        <JournalItemID>sample string 1</JournalItemID>
        <JournalTypeFieldID>2</JournalTypeFieldID>
        <Value>sample string 3</Value>
      </JournalItemFieldValue>
      <JournalItemFieldValue>
        <JournalItemID>sample string 1</JournalItemID>
        <JournalTypeFieldID>2</JournalTypeFieldID>
        <Value>sample string 3</Value>
      </JournalItemFieldValue>
    </FieldValues>
    <ID>sample string 1</ID>
    <JournalTypeID>sample string 5</JournalTypeID>
    <JournalTypeName>sample string 6</JournalTypeName>
    <ModifiedDate>2024-11-21T09:37:52.1500031+00:00</ModifiedDate>
    <Name>sample string 3</Name>
    <ParentID>sample string 4</ParentID>
    <PerformPendingCheck>true</PerformPendingCheck>
    <SP_ID>2</SP_ID>
    <SharePointEmailAddresses>sample string 9</SharePointEmailAddresses>
  </JournalItem>
  <Teams>
    <Team>
      <ID>sample string 1</ID>
      <IsDomainGroup>true</IsDomainGroup>
      <Name>sample string 3</Name>
      <SP_ID>sample string 2</SP_ID>
      <SamAccountName>sample string 7</SamAccountName>
      <SecurityIdentifier>sample string 6</SecurityIdentifier>
      <SystemGenerated>true</SystemGenerated>
      <TeamMemberLoginNames xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </TeamMemberLoginNames>
      <TeamMemberWithDomainGroups>
        <TeamMemberWithDomainGroup>
          <DomainGroupName>sample string 4</DomainGroupName>
          <DomainGroupSamAccountName>sample string 3</DomainGroupSamAccountName>
          <DomainGroupSecurityIdentifier>sample string 2</DomainGroupSecurityIdentifier>
          <LoginName>sample string 1</LoginName>
        </TeamMemberWithDomainGroup>
        <TeamMemberWithDomainGroup>
          <DomainGroupName>sample string 4</DomainGroupName>
          <DomainGroupSamAccountName>sample string 3</DomainGroupSamAccountName>
          <DomainGroupSecurityIdentifier>sample string 2</DomainGroupSecurityIdentifier>
          <LoginName>sample string 1</LoginName>
        </TeamMemberWithDomainGroup>
      </TeamMemberWithDomainGroups>
    </Team>
    <Team>
      <ID>sample string 1</ID>
      <IsDomainGroup>true</IsDomainGroup>
      <Name>sample string 3</Name>
      <SP_ID>sample string 2</SP_ID>
      <SamAccountName>sample string 7</SamAccountName>
      <SecurityIdentifier>sample string 6</SecurityIdentifier>
      <SystemGenerated>true</SystemGenerated>
      <TeamMemberLoginNames xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </TeamMemberLoginNames>
      <TeamMemberWithDomainGroups>
        <TeamMemberWithDomainGroup>
          <DomainGroupName>sample string 4</DomainGroupName>
          <DomainGroupSamAccountName>sample string 3</DomainGroupSamAccountName>
          <DomainGroupSecurityIdentifier>sample string 2</DomainGroupSecurityIdentifier>
          <LoginName>sample string 1</LoginName>
        </TeamMemberWithDomainGroup>
        <TeamMemberWithDomainGroup>
          <DomainGroupName>sample string 4</DomainGroupName>
          <DomainGroupSamAccountName>sample string 3</DomainGroupSamAccountName>
          <DomainGroupSecurityIdentifier>sample string 2</DomainGroupSecurityIdentifier>
          <LoginName>sample string 1</LoginName>
        </TeamMemberWithDomainGroup>
      </TeamMemberWithDomainGroups>
    </Team>
  </Teams>
  <Users>
    <User>
      <DisplayName>sample string 3</DisplayName>
      <EmailAddresses xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </EmailAddresses>
      <ID>sample string 1</ID>
      <LoginName>sample string 4</LoginName>
      <SP_ID>2</SP_ID>
      <SP_IsSiteAdmin>true</SP_IsSiteAdmin>
    </User>
    <User>
      <DisplayName>sample string 3</DisplayName>
      <EmailAddresses xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </EmailAddresses>
      <ID>sample string 1</ID>
      <LoginName>sample string 4</LoginName>
      <SP_ID>2</SP_ID>
      <SP_IsSiteAdmin>true</SP_IsSiteAdmin>
    </User>
  </Users>
</SynchronizeOneParameter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SynchronizeResult
NameDescriptionTypeAdditional information
SynchronizeType

SynchronizeType

None.

ID

string

None.

SynchronizeOperation

SynchronizeOperation

None.

ErrorNumber

integer

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SynchronizeType": 0,
    "ID": "sample string 1",
    "SynchronizeOperation": 10,
    "ErrorNumber": 2,
    "ErrorMessage": "sample string 3"
  },
  {
    "SynchronizeType": 0,
    "ID": "sample string 1",
    "SynchronizeOperation": 10,
    "ErrorNumber": 2,
    "ErrorMessage": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSynchronizeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model">
  <SynchronizeResult>
    <ErrorMessage>sample string 3</ErrorMessage>
    <ErrorNumber>2</ErrorNumber>
    <ID>sample string 1</ID>
    <SynchronizeOperation>Insert</SynchronizeOperation>
    <SynchronizeType>User</SynchronizeType>
  </SynchronizeResult>
  <SynchronizeResult>
    <ErrorMessage>sample string 3</ErrorMessage>
    <ErrorNumber>2</ErrorNumber>
    <ID>sample string 1</ID>
    <SynchronizeOperation>Insert</SynchronizeOperation>
    <SynchronizeType>User</SynchronizeType>
  </SynchronizeResult>
</ArrayOfSynchronizeResult>