POST {version}/CalculateAndSaveSplits
Inserts a JFC Splits for a Transaction
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
TransactionDetailName | Description | Type | Additional information |
---|---|---|---|
TransactionId | globally unique identifier |
None. |
|
EntityId | globally unique identifier |
None. |
|
EntityType | string |
None. |
|
AccountId | globally unique identifier |
None. |
|
Amount | decimal number |
None. |
|
TransactionDate | date |
None. |
|
AllLevels | Collection of JFCAllocationDefinition |
None. |
Request Formats
application/json, text/json
Sample:
{ "TransactionId": "35330f6b-fd1a-42b2-b124-369778c549c6", "EntityId": "d4395266-59e2-4090-9e01-bd2e3292e0a7", "EntityType": "sample string 3", "AccountId": "bcf7f378-07f2-42c1-8edb-3105c3524234", "Amount": 5.0, "TransactionDate": "04/03/2025", "AllLevels": [ { "Id": "e1d18d50-e39a-4828-98ea-b9e1e18eac26", "Name": "sample string 2", "FilingCommitteeId": "3a26d4c1-cb32-4c63-8ff7-294d291e713a", "CommitteeName": "sample string 3", "IsFiling": true, "ElectionPeriodId": "ce2837e3-79c0-4f1b-8305-79dacae7f4b3", "IndividualMaxContribution": 1.0, "OrganizationMaxContribution": 1.0, "SunsetDate": "04/03/2025", "LevelOrder": 1, "Percentage": 1.0, "PercentageOverride": true, "CreatedOn": "04/03/2025", "CreatedBy": "3f545fd4-2e76-47a0-a8ca-bc4f21f074ed", "UpdatedOn": "04/03/2025", "UpdatedBy": "3b2a36c2-cfb2-4e8e-a997-8fee4f25dfc1", "DeletedOn": "04/03/2025", "DeletedBy": "a4ab9c98-11cd-459d-a0c9-0fb37995f07d", "Deleted": true, "GivenAmount": 1.0, "DistributionId": "8493cd99-6617-4664-8364-b13c6ca1f160" }, { "Id": "e1d18d50-e39a-4828-98ea-b9e1e18eac26", "Name": "sample string 2", "FilingCommitteeId": "3a26d4c1-cb32-4c63-8ff7-294d291e713a", "CommitteeName": "sample string 3", "IsFiling": true, "ElectionPeriodId": "ce2837e3-79c0-4f1b-8305-79dacae7f4b3", "IndividualMaxContribution": 1.0, "OrganizationMaxContribution": 1.0, "SunsetDate": "04/03/2025", "LevelOrder": 1, "Percentage": 1.0, "PercentageOverride": true, "CreatedOn": "04/03/2025", "CreatedBy": "3f545fd4-2e76-47a0-a8ca-bc4f21f074ed", "UpdatedOn": "04/03/2025", "UpdatedBy": "3b2a36c2-cfb2-4e8e-a997-8fee4f25dfc1", "DeletedOn": "04/03/2025", "DeletedBy": "a4ab9c98-11cd-459d-a0c9-0fb37995f07d", "Deleted": true, "GivenAmount": 1.0, "DistributionId": "8493cd99-6617-4664-8364-b13c6ca1f160" } ] }
application/xml, text/xml
Sample:
<TransactionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model"> <AccountId>bcf7f378-07f2-42c1-8edb-3105c3524234</AccountId> <AllLevels> <JFCAllocationDefinition> <CommitteeName>sample string 3</CommitteeName> <CreatedBy>3f545fd4-2e76-47a0-a8ca-bc4f21f074ed</CreatedBy> <CreatedOn>2025-04-03T05:12:50.5346064-04:00</CreatedOn> <Deleted>true</Deleted> <DeletedBy>a4ab9c98-11cd-459d-a0c9-0fb37995f07d</DeletedBy> <DeletedOn>2025-04-03T05:12:50.5346064-04:00</DeletedOn> <DistributionId>8493cd99-6617-4664-8364-b13c6ca1f160</DistributionId> <ElectionPeriodId>ce2837e3-79c0-4f1b-8305-79dacae7f4b3</ElectionPeriodId> <FilingCommitteeId>3a26d4c1-cb32-4c63-8ff7-294d291e713a</FilingCommitteeId> <GivenAmount>1</GivenAmount> <Id>e1d18d50-e39a-4828-98ea-b9e1e18eac26</Id> <IndividualMaxContribution>1</IndividualMaxContribution> <IsFiling>true</IsFiling> <LevelOrder>1</LevelOrder> <Name>sample string 2</Name> <OrganizationMaxContribution>1</OrganizationMaxContribution> <Percentage>1</Percentage> <PercentageOverride>true</PercentageOverride> <SunsetDate>2025-04-03T05:12:50.5346064-04:00</SunsetDate> <UpdatedBy>3b2a36c2-cfb2-4e8e-a997-8fee4f25dfc1</UpdatedBy> <UpdatedOn>2025-04-03T05:12:50.5346064-04:00</UpdatedOn> </JFCAllocationDefinition> <JFCAllocationDefinition> <CommitteeName>sample string 3</CommitteeName> <CreatedBy>3f545fd4-2e76-47a0-a8ca-bc4f21f074ed</CreatedBy> <CreatedOn>2025-04-03T05:12:50.5346064-04:00</CreatedOn> <Deleted>true</Deleted> <DeletedBy>a4ab9c98-11cd-459d-a0c9-0fb37995f07d</DeletedBy> <DeletedOn>2025-04-03T05:12:50.5346064-04:00</DeletedOn> <DistributionId>8493cd99-6617-4664-8364-b13c6ca1f160</DistributionId> <ElectionPeriodId>ce2837e3-79c0-4f1b-8305-79dacae7f4b3</ElectionPeriodId> <FilingCommitteeId>3a26d4c1-cb32-4c63-8ff7-294d291e713a</FilingCommitteeId> <GivenAmount>1</GivenAmount> <Id>e1d18d50-e39a-4828-98ea-b9e1e18eac26</Id> <IndividualMaxContribution>1</IndividualMaxContribution> <IsFiling>true</IsFiling> <LevelOrder>1</LevelOrder> <Name>sample string 2</Name> <OrganizationMaxContribution>1</OrganizationMaxContribution> <Percentage>1</Percentage> <PercentageOverride>true</PercentageOverride> <SunsetDate>2025-04-03T05:12:50.5346064-04:00</SunsetDate> <UpdatedBy>3b2a36c2-cfb2-4e8e-a997-8fee4f25dfc1</UpdatedBy> <UpdatedOn>2025-04-03T05:12:50.5346064-04:00</UpdatedOn> </JFCAllocationDefinition> </AllLevels> <Amount>5</Amount> <EntityId>d4395266-59e2-4090-9e01-bd2e3292e0a7</EntityId> <EntityType>sample string 3</EntityType> <TransactionDate>2025-04-03T05:12:50.5346064-04:00</TransactionDate> <TransactionId>35330f6b-fd1a-42b2-b124-369778c549c6</TransactionId> </TransactionDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
No return value
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |