@@ -66,9 +66,9 @@ using ApideckUnifySdk.Models.Requests;
6666using System .Collections .Generic ;
6767
6868var sdk = new Apideck (
69- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
7069 consumerId : " test-consumer" ,
71- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
70+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
71+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
7272);
7373
7474AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -727,9 +727,9 @@ using ApideckUnifySdk.Models.Requests;
727727using System .Collections .Generic ;
728728
729729var sdk = new Apideck (
730- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
731730 consumerId : " test-consumer" ,
732- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
731+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
732+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
733733);
734734
735735AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -771,9 +771,9 @@ using ApideckUnifySdk.Models.Requests;
771771using System .Collections .Generic ;
772772
773773var sdk = new Apideck (
774- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
775774 consumerId : " test-consumer" ,
776- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
775+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
776+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
777777);
778778
779779AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -831,9 +831,9 @@ var sdk = new Apideck(
831831 ),
832832 retryConnectionErrors : false
833833 ),
834- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
835834 consumerId : " test-consumer" ,
836- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
835+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
836+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
837837);
838838
839839AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -896,9 +896,9 @@ using ApideckUnifySdk.Models.Requests;
896896using System .Collections .Generic ;
897897
898898var sdk = new Apideck (
899- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
900899 consumerId : " test-consumer" ,
901- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
900+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
901+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
902902);
903903
904904try
@@ -977,9 +977,9 @@ using System.Collections.Generic;
977977
978978var sdk = new Apideck (
979979 serverUrl : " https://unify.apideck.com" ,
980- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
981980 consumerId : " test-consumer" ,
982- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
981+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
982+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
983983);
984984
985985AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -1017,14 +1017,15 @@ using ApideckUnifySdk.Models.Requests;
10171017using System ;
10181018
10191019var sdk = new Apideck (
1020- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
10211020 consumerId : " test-consumer" ,
1022- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
1021+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
1022+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
10231023);
10241024
10251025AccountingAttachmentsUploadRequest req = new AccountingAttachmentsUploadRequest () {
10261026 ReferenceType = AttachmentReferenceType .Invoice ,
1027- ReferenceId = " 12345" ,
1027+ ReferenceId = " 123456" ,
1028+ XApideckMetadata = " {\" name\" :\" document.pdf\" ,\" description\" :\" Invoice attachment\" }" ,
10281029 ServiceId = " salesforce" ,
10291030 RequestBody = System .Text .Encoding .UTF8 .GetBytes (" 0x506D4BD16D" ),
10301031};
0 commit comments