PUT api/Clients/BatchShare

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
sharingModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Shares": [
    {
      "Email": "sample string 1",
      "UserId": "acc35853-3fd1-4ada-a1e7-e70f04d9d0f8",
      "Permission": 0
    },
    {
      "Email": "sample string 1",
      "UserId": "acc35853-3fd1-4ada-a1e7-e70f04d9d0f8",
      "Permission": 0
    },
    {
      "Email": "sample string 1",
      "UserId": "acc35853-3fd1-4ada-a1e7-e70f04d9d0f8",
      "Permission": 0
    }
  ],
  "Privacy": 0,
  "isSelectedAll": true,
  "filters": {
    "businessTypes": [
      0,
      0,
      0
    ],
    "terms": "sample string 1",
    "isPeopleSearch": true,
    "standAloneOnly": true,
    "owner": "sample string 4",
    "isMine": true,
    "taxpayersOnly": true,
    "idNumber": "sample string 5",
    "isExactIdNumber": true,
    "idNumbers": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "isNotArchived": true,
    "externalId": 1,
    "hasExternalId": true,
    "myOrganizationOnly": true,
    "hasPaperlessId": true,
    "hasEmail": true,
    "hasCellphone": true,
    "paperlessId": "6c04f404-0b1b-4541-8ad2-5376d285081e",
    "accountingId": "sample string 7",
    "notWithCampaignId": 1,
    "excludePersonIds": [
      "b70b60ba-1477-413a-86fe-d615513f4184",
      "a5eacc5a-bf92-4364-a604-e5d19b571033",
      "883381a9-7978-48a5-bc99-8765217b668d"
    ],
    "excludeBusinessIds": [
      "90275865-39e4-4cc2-9ac3-760a2c5d9e3d",
      "e9004587-09f8-497e-b7c9-7bc9f41eade5",
      "5d22abc7-2f5f-4121-b27a-0f127465fcc0"
    ],
    "clientIds": [
      "2ddd93fe-7e97-413c-b963-b0f16c16861b",
      "e3131065-176e-4998-b4b0-2eabede141ed",
      "d9127553-9e2c-4f94-99c8-c5bcdcbb6b01"
    ],
    "expectedBroadcastDate": "2026-02-28T10:27:36.9986733+02:00",
    "fromExpectedBroadcastDate": "2026-02-28T10:27:36.9986733+02:00",
    "fromBroadcastDate": "2026-02-28T10:27:36.9986733+02:00",
    "toBroadcastDate": "2026-02-28T10:27:36.9986733+02:00",
    "fromOrkaDate": "2026-02-28T10:27:36.9986733+02:00",
    "toOrkaDate": "2026-02-28T10:27:36.9986733+02:00",
    "isBroadcasted": true,
    "agentIds": [
      "sample string 1",
      "sample string 2",
      "sample string 3"
    ],
    "taxYear": 1,
    "sharingPermission": 0
  }
}

text/xml

Sample:
<ClientBatchSharingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Heshev.Site.Api.Models">
  <Filters xmlns:d2p1="http://schemas.datacontract.org/2004/07/Heshev.Crm.DomainLogic.Common">
    <d2p1:AccountingId>sample string 7</d2p1:AccountingId>
    <d2p1:AgentIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </d2p1:AgentIds>
    <d2p1:BusinessTypes>
      <d2p1:BusinessType>Unknown</d2p1:BusinessType>
      <d2p1:BusinessType>Unknown</d2p1:BusinessType>
      <d2p1:BusinessType>Unknown</d2p1:BusinessType>
    </d2p1:BusinessTypes>
    <d2p1:ClientIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>2ddd93fe-7e97-413c-b963-b0f16c16861b</d3p1:guid>
      <d3p1:guid>e3131065-176e-4998-b4b0-2eabede141ed</d3p1:guid>
      <d3p1:guid>d9127553-9e2c-4f94-99c8-c5bcdcbb6b01</d3p1:guid>
    </d2p1:ClientIds>
    <d2p1:ExcludeBusinessIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>90275865-39e4-4cc2-9ac3-760a2c5d9e3d</d3p1:guid>
      <d3p1:guid>e9004587-09f8-497e-b7c9-7bc9f41eade5</d3p1:guid>
      <d3p1:guid>5d22abc7-2f5f-4121-b27a-0f127465fcc0</d3p1:guid>
    </d2p1:ExcludeBusinessIds>
    <d2p1:ExcludePersonIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>b70b60ba-1477-413a-86fe-d615513f4184</d3p1:guid>
      <d3p1:guid>a5eacc5a-bf92-4364-a604-e5d19b571033</d3p1:guid>
      <d3p1:guid>883381a9-7978-48a5-bc99-8765217b668d</d3p1:guid>
    </d2p1:ExcludePersonIds>
    <d2p1:ExpectedBroadcastDate>2026-02-28T10:27:36.9986733+02:00</d2p1:ExpectedBroadcastDate>
    <d2p1:ExternalId>1</d2p1:ExternalId>
    <d2p1:FromBroadcastDate>2026-02-28T10:27:36.9986733+02:00</d2p1:FromBroadcastDate>
    <d2p1:FromExpectedBroadcastDate>2026-02-28T10:27:36.9986733+02:00</d2p1:FromExpectedBroadcastDate>
    <d2p1:FromOrkaDate>2026-02-28T10:27:36.9986733+02:00</d2p1:FromOrkaDate>
    <d2p1:HasCellphone>true</d2p1:HasCellphone>
    <d2p1:HasEmail>true</d2p1:HasEmail>
    <d2p1:HasExternalId>true</d2p1:HasExternalId>
    <d2p1:HasPaperlessId>true</d2p1:HasPaperlessId>
    <d2p1:IdNumber>sample string 5</d2p1:IdNumber>
    <d2p1:IdNumbers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
      <d3p1:string>sample string 3</d3p1:string>
    </d2p1:IdNumbers>
    <d2p1:IsBroadcasted>true</d2p1:IsBroadcasted>
    <d2p1:IsExactIdNumber>true</d2p1:IsExactIdNumber>
    <d2p1:IsMine>true</d2p1:IsMine>
    <d2p1:IsNotArchived>true</d2p1:IsNotArchived>
    <d2p1:IsPeopleSearch>true</d2p1:IsPeopleSearch>
    <d2p1:MyOrganizationOnly>true</d2p1:MyOrganizationOnly>
    <d2p1:NotWithCampaignId>1</d2p1:NotWithCampaignId>
    <d2p1:Owner>sample string 4</d2p1:Owner>
    <d2p1:PaperlessId>6c04f404-0b1b-4541-8ad2-5376d285081e</d2p1:PaperlessId>
    <d2p1:SharingPermission>Read</d2p1:SharingPermission>
    <d2p1:StandAloneOnly>true</d2p1:StandAloneOnly>
    <d2p1:TaxYear>1</d2p1:TaxYear>
    <d2p1:TaxpayersOnly>true</d2p1:TaxpayersOnly>
    <d2p1:Terms>sample string 1</d2p1:Terms>
    <d2p1:ToBroadcastDate>2026-02-28T10:27:36.9986733+02:00</d2p1:ToBroadcastDate>
    <d2p1:ToOrkaDate>2026-02-28T10:27:36.9986733+02:00</d2p1:ToOrkaDate>
  </Filters>
  <IsSelectedAll>true</IsSelectedAll>
  <Privacy>PublicRead</Privacy>
  <Shares xmlns:d2p1="http://schemas.datacontract.org/2004/07/Heshev.Common.DomainLogic.Sharing">
    <d2p1:SharingUserModel>
      <d2p1:Email>sample string 1</d2p1:Email>
      <d2p1:Permission>Read</d2p1:Permission>
      <d2p1:UserId>acc35853-3fd1-4ada-a1e7-e70f04d9d0f8</d2p1:UserId>
    </d2p1:SharingUserModel>
    <d2p1:SharingUserModel>
      <d2p1:Email>sample string 1</d2p1:Email>
      <d2p1:Permission>Read</d2p1:Permission>
      <d2p1:UserId>acc35853-3fd1-4ada-a1e7-e70f04d9d0f8</d2p1:UserId>
    </d2p1:SharingUserModel>
    <d2p1:SharingUserModel>
      <d2p1:Email>sample string 1</d2p1:Email>
      <d2p1:Permission>Read</d2p1:Permission>
      <d2p1:UserId>acc35853-3fd1-4ada-a1e7-e70f04d9d0f8</d2p1:UserId>
    </d2p1:SharingUserModel>
  </Shares>
</ClientBatchSharingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json, text/xml

Sample:

Sample not available.