POST Api/Platform/SendCompaniesToOrgHub

Request Information

URI Parameters

None.

Body Parameters

CompaniesToSendSelectorDto
NameDescriptionTypeAdditional information
FromId

integer

Range: inclusive between 1 and 2147483647

ToId

integer

Range: inclusive between 1 and 2147483647

BatchSize

integer

Required

Range: inclusive between 1 and 1000

Request Formats

application/json, text/json

Sample:
{
  "fromId": 1,
  "toId": 1,
  "batchSize": 1
}

multipart/form-data

Sample:
{"fromId":1,"toId":1,"batchSize":1}

application/xml, text/xml

Sample:
<CompaniesToSendSelectorDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <FromId>1</FromId>
  <ToId>1</ToId>
  <BatchSize>1</BatchSize>
</CompaniesToSendSelectorDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SentCompaniesStatisticsDto
NameDescriptionTypeAdditional information
TotalAmount

integer

None.

LastId

integer

None.

TimeElapsedInMs

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "totalAmount": 1,
  "lastId": 1,
  "timeElapsedInMs": 2
}

multipart/form-data

Sample:
{"totalAmount":1,"lastId":1,"timeElapsedInMs":2}

application/xml, text/xml

Sample:
<SentCompaniesStatisticsDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TotalAmount>1</TotalAmount>
  <LastId>1</LastId>
  <TimeElapsedInMs>2</TimeElapsedInMs>
</SentCompaniesStatisticsDto>