You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sync-for-payables/CodatSyncPayables/Accounts.cs
+66-62Lines changed: 66 additions & 62 deletions
Original file line number
Diff line number
Diff line change
@@ -19,23 +19,84 @@ namespace CodatSyncPayables
19
19
usingSystem.Threading.Tasks;
20
20
usingSystem;
21
21
22
+
/// <summary>
23
+
/// Accounts
24
+
/// </summary>
22
25
publicinterfaceIAccountsSDK
23
26
{
27
+
28
+
/// <summary>
29
+
/// Create account
30
+
///
31
+
/// <remarks>
32
+
/// The *Create account* endpoint creates a new <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Account">account</a> for a given company's connection.<br/>
33
+
/// <br/>
34
+
/// <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Account">Accounts</a> are the categories a business uses to record accounting transactions.<br/>
35
+
/// <br/>
36
+
/// **Integration-specific behaviour**<br/>
37
+
/// <br/>
38
+
/// Required data may vary by integration. To see what data to post, first call <a href="https://docs.codat.io/sync-for-payables-api#/operations/get-create-chartOfAccounts-model">Get create account model</a>.<br/>
39
+
/// <br/>
40
+
/// Check out our <a href="https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts">coverage explorer</a> for integrations that support creating an account.<br/>
/// The *Get account* endpoint returns a single account for a given `accountId`.<br/>
51
+
/// <br/>
52
+
/// <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Account">Accounts</a> are the categories a business uses to record accounting transactions.<br/>
53
+
/// <br/>
54
+
/// Check out our <a href="https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts">coverage explorer</a> for integrations that support getting a specific account.<br/>
55
+
/// <br/>
56
+
/// Before using this endpoint, you must have <a href="https://docs.codat.io/sync-for-payables-api#/operations/refresh-company-data">retrieved data for the company</a>.<br/>
/// The *Get create account model* endpoint returns the expected data for the request payload when creating an <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Account">account</a> for a given company and integration.<br/>
67
+
/// <br/>
68
+
/// <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Account">Accounts</a> are the categories a business uses to record accounting transactions.<br/>
69
+
/// <br/>
70
+
/// **Integration-specific behaviour**<br/>
71
+
/// <br/>
72
+
/// See the *response examples* for integration-specific indicative models.<br/>
73
+
/// <br/>
74
+
/// Check out our <a href="https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts">coverage explorer</a> for integrations that support creating an account.<br/>
/// The *List accounts* endpoint returns a list of <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Account">accounts</a> for a given company's connection.<br/>
85
+
/// <br/>
86
+
/// <a href="https://docs.codat.io/sync-for-payables-api#/schemas/Account">Accounts</a> are the categories a business uses to record accounting transactions.<br/>
87
+
/// <br/>
88
+
/// Before using this endpoint, you must have <a href="https://docs.codat.io/sync-for-payables-api#/operations/refresh-company-data">retrieved data for the company</a>.
@@ -50,22 +111,6 @@ public AccountsSDK(ISpeakeasyHttpClient defaultClient, ISpeakeasyHttpClient secu
50
111
}
51
112
52
113
53
-
/// <summary>
54
-
/// Create account
55
-
///
56
-
/// <remarks>
57
-
/// The *Create account* endpoint creates a new [account](https://docs.codat.io/sync-for-payables-api#/schemas/Account) for a given company's connection.
58
-
///
59
-
/// [Accounts](https://docs.codat.io/sync-for-payables-api#/schemas/Account) are the categories a business uses to record accounting transactions.
60
-
///
61
-
/// **Integration-specific behaviour**
62
-
///
63
-
/// Required data may vary by integration. To see what data to post, first call [Get create account model](https://docs.codat.io/sync-for-payables-api#/operations/get-create-chartOfAccounts-model).
64
-
///
65
-
/// Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
@@ -119,20 +164,6 @@ public AccountsSDK(ISpeakeasyHttpClient defaultClient, ISpeakeasyHttpClient secu
119
164
}
120
165
121
166
122
-
/// <summary>
123
-
/// Get account
124
-
///
125
-
/// <remarks>
126
-
/// The *Get account* endpoint returns a single account for a given `accountId`.
127
-
///
128
-
/// [Accounts](https://docs.codat.io/sync-for-payables-api#/schemas/Account) are the categories a business uses to record accounting transactions.
129
-
///
130
-
/// Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support getting a specific account.
131
-
///
132
-
/// Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/sync-for-payables-api#/operations/refresh-company-data).
/// The *Get create account model* endpoint returns the expected data for the request payload when creating an [account](https://docs.codat.io/sync-for-payables-api#/schemas/Account) for a given company and integration.
189
-
///
190
-
/// [Accounts](https://docs.codat.io/sync-for-payables-api#/schemas/Account) are the categories a business uses to record accounting transactions.
191
-
///
192
-
/// **Integration-specific behaviour**
193
-
///
194
-
/// See the *response examples* for integration-specific indicative models.
195
-
///
196
-
/// Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=chartOfAccounts) for integrations that support creating an account.
@@ -245,17 +260,6 @@ public async Task<GetCreateAccountModelResponse> GetCreateModelAsync(GetCreateAc
245
260
}
246
261
247
262
248
-
/// <summary>
249
-
/// List accounts
250
-
///
251
-
/// <remarks>
252
-
/// The *List accounts* endpoint returns a list of [accounts](https://docs.codat.io/sync-for-payables-api#/schemas/Account) for a given company's connection.
253
-
///
254
-
/// [Accounts](https://docs.codat.io/sync-for-payables-api#/schemas/Account) are the categories a business uses to record accounting transactions.
255
-
///
256
-
/// Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/sync-for-payables-api#/operations/refresh-company-data).
0 commit comments