@@ -66,9 +66,9 @@ using ApideckUnifySdk.Models.Requests;
66
66
using System .Collections .Generic ;
67
67
68
68
var sdk = new Apideck (
69
- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
70
69
consumerId : " test-consumer" ,
71
- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
70
+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
71
+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
72
72
);
73
73
74
74
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -727,9 +727,9 @@ using ApideckUnifySdk.Models.Requests;
727
727
using System .Collections .Generic ;
728
728
729
729
var sdk = new Apideck (
730
- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
731
730
consumerId : " test-consumer" ,
732
- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
731
+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
732
+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
733
733
);
734
734
735
735
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -771,9 +771,9 @@ using ApideckUnifySdk.Models.Requests;
771
771
using System .Collections .Generic ;
772
772
773
773
var sdk = new Apideck (
774
- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
775
774
consumerId : " test-consumer" ,
776
- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
775
+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
776
+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
777
777
);
778
778
779
779
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -831,9 +831,9 @@ var sdk = new Apideck(
831
831
),
832
832
retryConnectionErrors : false
833
833
),
834
- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
835
834
consumerId : " test-consumer" ,
836
- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
835
+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
836
+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
837
837
);
838
838
839
839
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -896,9 +896,9 @@ using ApideckUnifySdk.Models.Requests;
896
896
using System .Collections .Generic ;
897
897
898
898
var sdk = new Apideck (
899
- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
900
899
consumerId : " test-consumer" ,
901
- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
900
+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
901
+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
902
902
);
903
903
904
904
try
@@ -977,9 +977,9 @@ using System.Collections.Generic;
977
977
978
978
var sdk = new Apideck (
979
979
serverUrl : " https://unify.apideck.com" ,
980
- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
981
980
consumerId : " test-consumer" ,
982
- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
981
+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
982
+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
983
983
);
984
984
985
985
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest () {
@@ -1017,14 +1017,15 @@ using ApideckUnifySdk.Models.Requests;
1017
1017
using System ;
1018
1018
1019
1019
var sdk = new Apideck (
1020
- apiKey : " <YOUR_BEARER_TOKEN_HERE>" ,
1021
1020
consumerId : " test-consumer" ,
1022
- appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
1021
+ appId : " dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" ,
1022
+ apiKey : " <YOUR_BEARER_TOKEN_HERE>"
1023
1023
);
1024
1024
1025
1025
AccountingAttachmentsUploadRequest req = new AccountingAttachmentsUploadRequest () {
1026
1026
ReferenceType = AttachmentReferenceType .Invoice ,
1027
- ReferenceId = " 12345" ,
1027
+ ReferenceId = " 123456" ,
1028
+ XApideckMetadata = " {\" name\" :\" document.pdf\" ,\" description\" :\" Invoice attachment\" }" ,
1028
1029
ServiceId = " salesforce" ,
1029
1030
RequestBody = System .Text .Encoding .UTF8 .GetBytes (" 0x506D4BD16D" ),
1030
1031
};
0 commit comments