mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-24 08:52:18 +02:00
Main build (Jenkins)
This commit is contained in:
parent
5826ad9150
commit
b34e09430c
12
ci/clitesten
12
ci/clitesten
@ -946,10 +946,22 @@ def test_cdek(){
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek DeleteCourierInvitation --token "test" --uuid "test" --testapi "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek RegisterDeliveryAppointment --token "test" --appt "test" --testapi "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek GetDeliveryAppointment --token "test" --uuid "test" --testapi "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek GetCourierInvitationsDescription --empty "test" --required "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek GetAppointmentDescription --empty "test" --required "test" --debug --test '
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
12
ci/clitestru
12
ci/clitestru
@ -946,10 +946,22 @@ def test_cdek(){
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek УдалитьЗаявкуНаВызовКурьера --token "test" --uuid "test" --testapi "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek ЗафиксироватьДоговоренностьОДоставке --token "test" --appt "test" --testapi "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek ПолучитьДоговоренностьОДоставке --token "test" --uuid "test" --testapi "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek ПолучитьОписаниеЗаявкиКурьера --empty "test" --required "test" --debug --test '
|
||||
}
|
||||
|
||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||
powershell encoding: 'UTF-8', script:'./oint.exe cdek ПолучитьОписаниеДоговоренности --empty "test" --required "test" --debug --test '
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
4
docs/en/data/CDEK/GetDeliveryAppointment.json
Normal file
4
docs/en/data/CDEK/GetDeliveryAppointment.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...",
|
||||
"UUID": "72753031-8b77-4a13-ba0e-fa088d1451bb"
|
||||
}
|
4
docs/en/data/CDEK/RegisterDeliveryAppointment.json
Normal file
4
docs/en/data/CDEK/RegisterDeliveryAppointment.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"Token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...",
|
||||
"OrderUUID": "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuN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dCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
CurrentDate = OPI_Tools.GetCurrentDate();
|
||||
|
||||
InvitationDescription = New Structure;
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "7464a243-8e8f-4e72-8461-4ce50c52554e";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
Tariff = 139;
|
||||
|
||||
Result = OPI_CDEK.CreateCustomerRefund(Token, UUID, Tariff, True);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0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jNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
Type = "tpl_russia";
|
||||
Copies = 1;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "7464a243-8e8f-4e72-8461-4ce50c52554e";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2Nh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plOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "72753031-418e-420b-8140-19608749f0fb";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "72753031-c893-468e-a66d-28759fffa5b8";
|
||||
|
||||
Result = OPI_CDEK.DeleteCourierInvitation(Token, UUID, True);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.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Y2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
|
||||
Result = OPI_CDEK.DeleteOrder(Token, UUID, True);
|
||||
|
1
docs/en/examples/CDEK/GetAppointmentDescription.txt
Normal file
1
docs/en/examples/CDEK/GetAppointmentDescription.txt
Normal file
@ -0,0 +1 @@
|
||||
Result = OPI_CDEK.GetAppointmentDescription();
|
@ -1,4 +1,4 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "7464a243-8e8f-4e72-8461-4ce50c52554e";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
|
||||
Result = OPI_CDEK.GetAvailableDeliveryIntervals(Token, UUID, True);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0Ywi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|
||||
Result = OPI_CDEK.GetBarcode(Token, UUID, , True); // Server response with a URL
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "72753031-418e-420b-8140-19608749f0fb";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "72753031-c893-468e-a66d-28759fffa5b8";
|
||||
|
||||
Result = OPI_CDEK.GetCourierInvitation(Token, UUID, True);
|
||||
|
4
docs/en/examples/CDEK/GetDeliveryAppointment.txt
Normal file
4
docs/en/examples/CDEK/GetDeliveryAppointment.txt
Normal file
@ -0,0 +1,4 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "72753031-8b77-4a13-ba0e-fa088d1451bb";
|
||||
|
||||
Result = OPI_CDEK.GetDeliveryAppointment(Token, UUID, True);
|
@ -1,4 +1,4 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "7464a243-8e8f-4e72-8461-4ce50c52554e";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3Q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jIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
|
||||
OrderNumber = "3315affb-322a-4bb9-b0c4-e780d72b4cc0";
|
||||
OrderNumber = "958d6960-409f-4731-9f33-d0dc42760957";
|
||||
Result = OPI_CDEK.GetOrderByNumber(Token, OrderNumber, True, True);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J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aWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "72753031-d85a-4da0-a3d2-4b872903c9ef";
|
||||
|
||||
Result = OPI_CDEK.GetReceipt(Token, UUID, , True); // Server response with a URL
|
||||
|
||||
|
29
docs/en/examples/CDEK/RegisterDeliveryAppointment.txt
Normal file
29
docs/en/examples/CDEK/RegisterDeliveryAppointment.txt
Normal file
@ -0,0 +1,29 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
OrderUUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
CurrentDate = OPI_Tools.GetCurrentDate();
|
||||
|
||||
Appointment = New Structure;
|
||||
|
||||
Appointment.Insert("cdek_number", "1106207236");
|
||||
Appointment.Insert("order_uuid" , OrderUUID);
|
||||
Appointment.Insert("date" , Format(CurrentDate + 60 * 60 * 24 * 10, "DF=yyyy-MM-dd"));
|
||||
Appointment.Insert("time_from" , "10:00");
|
||||
Appointment.Insert("time_to" , "17:00");
|
||||
Appointment.Insert("comment" , "Group office");
|
||||
|
||||
DeliveryLocation = New Structure;
|
||||
DeliveryLocation.Insert("code" , "270");
|
||||
DeliveryLocation.Insert("fias_guid" , "0c5b2444-70a0-4932-980c-b4dc0d3f02b5");
|
||||
DeliveryLocation.Insert("postal_code" , "109004");
|
||||
DeliveryLocation.Insert("longitude" , 37.6204);
|
||||
DeliveryLocation.Insert("latitude" , 55.754);
|
||||
DeliveryLocation.Insert("country_code", "RU");
|
||||
DeliveryLocation.Insert("region" , "Novosibirsk");
|
||||
DeliveryLocation.Insert("sub_region" , "Novosibirsk");
|
||||
DeliveryLocation.Insert("city" , "Novosibirsk");
|
||||
DeliveryLocation.Insert("kladr_code" , "7700000000000");
|
||||
DeliveryLocation.Insert("address" , "st. Bluchera, 33");
|
||||
|
||||
Appointment.Insert("to_location", DeliveryLocation);
|
||||
|
||||
Result = OPI_CDEK.RegisterDeliveryAppointment(Token, Appointment, True);
|
@ -1,5 +1,5 @@
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "7464a243-8e8f-4e72-8461-4ce50c52554e";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
|
||||
OrderDescription = New Structure("comment", "NewComment");
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.ArchiveChannel(Token, Channel);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
FileID = "F07RN8F33GS";
|
||||
FileID = "F07SP6DRTJP";
|
||||
|
||||
Result = OPI_Slack.DeleteExternalFile(Token, FileID);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
FileID = "F07RFKJR7GW";
|
||||
FileID = "F07SLD6Q2PP";
|
||||
|
||||
Result = OPI_Slack.DeleteFile(Token, FileID);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C06UFNUTKUL";
|
||||
Timestamp = "1728823163.597989";
|
||||
Timestamp = "1729420887.349529";
|
||||
|
||||
Result = OPI_Slack.DeleteMessage(Token, Channel, Timestamp);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C06UFNUTKUL";
|
||||
Timestamp = "1728823163.597989";
|
||||
Timestamp = "1729420887.349529";
|
||||
|
||||
Text = "TestMessage2";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.GetChannel(Token, Channel);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.GetChannelHistory(Token, Channel);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.GetChannelUserList(Token, Channel);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
FileID = "F07RN8F33GS";
|
||||
FileID = "F07SP6DRTJP";
|
||||
|
||||
Result = OPI_Slack.GetExternalFile(Token, FileID);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
FileID = "F07RFKJR7GW";
|
||||
FileID = "F07SLD6Q2PP";
|
||||
|
||||
Result = OPI_Slack.GetFileData(Token, FileID);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C06UFNUTKUL";
|
||||
Timestamp = "1728823163.597989";
|
||||
Timestamp = "1729420887.349529";
|
||||
|
||||
Result = OPI_Slack.GetMessageLink(Token, Channel, Timestamp);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C06UFNUTKUL";
|
||||
Timestamp = "1728823163.597989";
|
||||
Timestamp = "1729420887.349529";
|
||||
|
||||
Result = OPI_Slack.GetMessageReplyList(Token, Channel, Timestamp);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
User = "U06UABH3APP";
|
||||
|
||||
Result = OPI_Slack.InviteUsersToChannel(Token, Channel, User);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.JoinChannel(Token, Channel);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
User = "U06UABH3APP";
|
||||
|
||||
Result = OPI_Slack.KickUserFromChannel(Token, Channel, User);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.LeaveChannel(Token, Channel);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
FileID = "F07RFKJR7GW";
|
||||
FileID = "F07SLD6Q2PP";
|
||||
|
||||
Result = OPI_Slack.MakeFilePrivate(Token, FileID);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
FileID = "F07RFKJR7GW";
|
||||
FileID = "F07SLD6Q2PP";
|
||||
|
||||
Result = OPI_Slack.MakeFilePublic(Token, FileID);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
Name = "testconv" + String(New UUID);
|
||||
|
||||
Result = OPI_Slack.RenameChannel(Token, Channel, Name);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C06UFNUTKUL";
|
||||
FileID = "F07RN8F33GS";
|
||||
FileID = "F07SP6DRTJP";
|
||||
|
||||
Result = OPI_Slack.SendExternalFile(Token, FileID, Channel);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
Purpose = "TestGoal";
|
||||
|
||||
Result = OPI_Slack.SetChannelGoal(Token, Channel, Purpose);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
Topic = "TestTopic";
|
||||
|
||||
Result = OPI_Slack.SetChannelTopic(Token, Channel, Topic);
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Image1 = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Binary or Path to file
|
||||
Image2 = "https://api.athenaeum.digital/test_data/picture2.jpg"; // URL, Binary or Path to file
|
||||
Selection = "130";
|
||||
Selection = "131";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "878";
|
||||
Property = "898";
|
||||
OptionArray = New Array;
|
||||
OptionArray.Add("Yellow");
|
||||
OptionArray.Add("Blue");
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9756133";
|
||||
Selection = "130";
|
||||
Product = "9815871";
|
||||
Selection = "131";
|
||||
|
||||
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);
|
||||
|
@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "52595199";
|
||||
DiscussionID = "52626758";
|
||||
Result = OPI_VK.CloseDiscussion(DiscussionID, False, Parameters);
|
||||
|
@ -1,9 +1,9 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
CampaignNumber = "1030715875";
|
||||
CampaignNumber = "1030737711";
|
||||
DailyLimit = 150;
|
||||
CategoryNumber = 126;
|
||||
PostID = "4712";
|
||||
PostID = "4822";
|
||||
AccountID = "1607951446";
|
||||
|
||||
Result = OPI_VK.CreateAd(CampaignNumber
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
Image1 = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
Image2 = "https://api.athenaeum.digital/test_data/picture2.jpg";
|
||||
PropVariant1 = "2601";
|
||||
PropVariant2 = "2602";
|
||||
PropVariant1 = "2643";
|
||||
PropVariant2 = "2644";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
AlbumID = "306093980";
|
||||
AlbumID = "306182865";
|
||||
|
||||
Result = OPI_VK.DeleteAlbum(AlbumID, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Selection = "130";
|
||||
Selection = "131";
|
||||
|
||||
Result = OPI_VK.DeleteSelection(Selection, Parameters);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
ImageID = "457249318";
|
||||
ImageID = "457249542";
|
||||
|
||||
Result = OPI_VK.DeleteImage(ImageID, Parameters);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "4712";
|
||||
PostID = "4822";
|
||||
|
||||
Result = OPI_VK.DeletePost(PostID, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9756133";
|
||||
Product = "9815871";
|
||||
|
||||
Result = OPI_VK.DeleteProduct(Product, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "878";
|
||||
Property = "898";
|
||||
|
||||
Result = OPI_VK.DeleteProductProperty(Property, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Option = "2601";
|
||||
Option = "2643";
|
||||
|
||||
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9756133";
|
||||
Product = "9815871";
|
||||
|
||||
ProductDescription = New Map;
|
||||
ProductDescription.Insert("Name", "EditedTestProduct");
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "EditedCollection";
|
||||
Selection = "130";
|
||||
Selection = "131";
|
||||
|
||||
Result = OPI_VK.EditProductCollection(Name, Selection, , , , Parameters);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "Color (change.)";
|
||||
Property = "878";
|
||||
Property = "898";
|
||||
|
||||
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "878";
|
||||
Option = "2601";
|
||||
Property = "898";
|
||||
Option = "2643";
|
||||
Value = "New variant name";
|
||||
|
||||
Result = OPI_VK.EditProductPropertyVariant(Value
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "9755489";
|
||||
Item2 = "9755490";
|
||||
Item1 = "9815876";
|
||||
Item2 = "9815877";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
Selection = "130";
|
||||
Selection = "131";
|
||||
|
||||
Result = OPI_VK.GetSelectionsByID(Selection, Parameters);
|
||||
|
@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "9755489";
|
||||
Item2 = "9755490";
|
||||
Item1 = "9815876";
|
||||
Item2 = "9815877";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "4712";
|
||||
PostID = "4822";
|
||||
|
||||
Result = OPI_VK.LikePost(PostID, , Parameters);
|
||||
|
@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "52595199";
|
||||
DiscussionID = "52626758";
|
||||
Result = OPI_VK.OpenDiscussion(DiscussionID, Parameters);
|
||||
|
@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "52595199";
|
||||
DiscussionID = "52626758";
|
||||
Message = "I like yellow more";
|
||||
|
||||
Result = OPI_VK.WriteInDiscussion(DiscussionID, Message, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "9756133";
|
||||
Selection = "130";
|
||||
Product = "9815871";
|
||||
Selection = "131";
|
||||
|
||||
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
ImageDescription = "AutoTestImage";
|
||||
AlbumID = "306093980";
|
||||
AlbumID = "306182865";
|
||||
|
||||
Image = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Path to file or Binary Data
|
||||
TFN = GetTempFileName("png");
|
||||
|
@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
Text = "NewComment";
|
||||
PostID = "4712";
|
||||
PostID = "4822";
|
||||
WallID = Parameters["owner_id"];
|
||||
|
||||
Result = OPI_VK.WriteComment(PostID, WallID, Text, Parameters);
|
||||
|
@ -30,7 +30,7 @@ Method at API documentation: [Registration of refusal](https://api-docs.cdek.ru/
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
CurrentDate = OPI_Tools.GetCurrentDate();
|
||||
|
||||
InvitationDescription = New Structure;
|
||||
|
@ -30,8 +30,8 @@ Method at API documentation: [Deleting a courier invitation](https://api-docs.cd
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7Qs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5b8";
|
||||
|
||||
Result = OPI_CDEK.DeleteCourierInvitation(Token, UUID, True);
|
||||
```
|
||||
|
@ -0,0 +1,42 @@
|
||||
---
|
||||
sidebar_position: 8
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get appointment description
|
||||
Gets the layout to create about delivery in the RegisterDeliveryAppointment function
|
||||
|
||||
|
||||
|
||||
`Function GetAppointmentDescription(Val Clear = False, Val RequiredOnly = False) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
|
||||
| RequiredOnly | --required | Boolean | ✖ | True > only required fields will be in the set |
|
||||
|
||||
|
||||
Returns: Structure of KeyAndValue - Fields structure
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Required fields may depend on the type of order or nesting. Be sure to read the CDEK documentation
|
||||
|
||||
Field descriptions in the documentation: [Registration of delivery appointment](https://api-docs.cdek.ru/36989576.html)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Result = OPI_CDEK.GetAppointmentDescription();
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
```
|
@ -30,8 +30,8 @@ Method at API documentation: [Getting delivery intervals (RU)](https://api-docs.
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA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ID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
|
||||
Result = OPI_CDEK.GetAvailableDeliveryIntervals(Token, UUID, True);
|
||||
```
|
||||
|
@ -24,14 +24,16 @@ import TabItem from '@theme/TabItem';
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [Details of a courier invitation(https://api-docs.cdek.ru/33828865.html)
|
||||
The invitation must be previously created. See CreateCourierInvitation
|
||||
|
||||
Method at API documentation: [Details of a courier invitation(https://api-docs.cdek.ru/33828865.html)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "72753031-418e-420b-8140-19608749f0fb";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "72753031-c893-468e-a66d-28759fffa5b8";
|
||||
|
||||
Result = OPI_CDEK.GetCourierInvitation(Token, UUID, True);
|
||||
```
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
sidebar_position: 7
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
|
@ -0,0 +1,46 @@
|
||||
---
|
||||
sidebar_position: 6
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get delivery appointment
|
||||
Receives information about the delivery date, time and address agreed with the customer
|
||||
|
||||
|
||||
|
||||
`Function GetDeliveryAppointment(Val Token, Val UUID, Val TestAPI = False) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Auth token |
|
||||
| UUID | --uuid | String | ✔ | Appointment UUID |
|
||||
| TestAPI | --testapi | Boolean | ✖ | Flag to use test API for requests |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from CDEK
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
The appointment must be previously created. See RegisterDeliveryAppointment
|
||||
|
||||
Method at API documentation: [Information about delivery appointment](https://api-docs.cdek.ru/36989601.html)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "72753031-8b77-4a13-ba0e-fa088d1451bb";
|
||||
|
||||
Result = OPI_CDEK.GetDeliveryAppointment(Token, UUID, True);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
```
|
@ -0,0 +1,69 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Register delivery appointment
|
||||
Fixes the delivery date, time and address agreed with the customer
|
||||
|
||||
|
||||
|
||||
`Function RegisterDeliveryAppointment(Val Token, Val Appointment, Val TestAPI = False) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Token | --token | String | ✔ | Auth token |
|
||||
| Appointment | --appt | Structure of KeyAndValue | ✔ | Appointment description. See GetAppointmentDescription |
|
||||
| TestAPI | --testapi | Boolean | ✖ | Flag to use test API for requests |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from CDEK
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Method at API documentation: [Registration of delivery appointment](https://api-docs.cdek.ru/36989576.html)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
OrderUUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
CurrentDate = OPI_Tools.GetCurrentDate();
|
||||
|
||||
Appointment = New Structure;
|
||||
|
||||
Appointment.Insert("cdek_number", "1106207236");
|
||||
Appointment.Insert("order_uuid" , OrderUUID);
|
||||
Appointment.Insert("date" , Format(CurrentDate + 60 * 60 * 24 * 10, "DF=yyyy-MM-dd"));
|
||||
Appointment.Insert("time_from" , "10:00");
|
||||
Appointment.Insert("time_to" , "17:00");
|
||||
Appointment.Insert("comment" , "Group office");
|
||||
|
||||
DeliveryLocation = New Structure;
|
||||
DeliveryLocation.Insert("code" , "270");
|
||||
DeliveryLocation.Insert("fias_guid" , "0c5b2444-70a0-4932-980c-b4dc0d3f02b5");
|
||||
DeliveryLocation.Insert("postal_code" , "109004");
|
||||
DeliveryLocation.Insert("longitude" , 37.6204);
|
||||
DeliveryLocation.Insert("latitude" , 55.754);
|
||||
DeliveryLocation.Insert("country_code", "RU");
|
||||
DeliveryLocation.Insert("region" , "Novosibirsk");
|
||||
DeliveryLocation.Insert("sub_region" , "Novosibirsk");
|
||||
DeliveryLocation.Insert("city" , "Novosibirsk");
|
||||
DeliveryLocation.Insert("kladr_code" , "7700000000000");
|
||||
DeliveryLocation.Insert("address" , "st. Bluchera, 33");
|
||||
|
||||
Appointment.Insert("to_location", DeliveryLocation);
|
||||
|
||||
Result = OPI_CDEK.RegisterDeliveryAppointment(Token, Appointment, True);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
```
|
@ -33,8 +33,8 @@ Method at API documentation: [Creating barcode CP for the order](https://api-doc
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbG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NWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
Format = "A5";
|
||||
Copies = 1;
|
||||
|
||||
|
@ -35,8 +35,8 @@ This method is used if the direct order was delivered by CDEK and the recipient
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "7464a243-8e8f-4e72-8461-4ce50c52554e";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
Tariff = 139;
|
||||
|
||||
Result = OPI_CDEK.CreateCustomerRefund(Token, UUID, Tariff, True);
|
||||
|
@ -31,7 +31,7 @@ Method at API documentation: [Order registration](https://api-docs.cdek.ru/33828
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg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;
|
||||
|
||||
|
@ -36,8 +36,8 @@ Available receipt types (languages): tpl_china, tpl_armenia, tpl_russia, tpl_eng
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "7464a243-8e8f-4e72-8461-4ce50c52554e";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
Type = "tpl_russia";
|
||||
Copies = 1;
|
||||
|
||||
|
@ -30,8 +30,8 @@ Method at API documentation: [Registration of refusal](https://api-docs.cdek.ru/
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "7464a243-8e8f-4e72-8461-4ce50c52554e";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
|
||||
Result = OPI_CDEK.CreateRefusal(Token, UUID, True);
|
||||
```
|
||||
|
@ -30,8 +30,8 @@ Method at API documentation: [Deleting an order](https://api-docs.cdek.ru/338288
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50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U5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
|
||||
Result = OPI_CDEK.DeleteOrder(Token, UUID, True);
|
||||
```
|
||||
|
@ -35,8 +35,8 @@ The barcode must be previously created. See CreateBarcode
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "72753031-4581-4240-8249-6303d2b2fa36";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "72753031-9761-42a0-b22e-72c5bfc02e10";
|
||||
|
||||
Result = OPI_CDEK.GetBarcode(Token, UUID, , True); // Server response with a URL
|
||||
|
||||
|
@ -31,9 +31,9 @@ Method at API documentation: [Order details](https://api-docs.cdek.ru/33828849.h
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
|
||||
OrderNumber = "3315affb-322a-4bb9-b0c4-e780d72b4cc0";
|
||||
OrderNumber = "958d6960-409f-4731-9f33-d0dc42760957";
|
||||
Result = OPI_CDEK.GetOrderByNumber(Token, OrderNumber, True, True);
|
||||
```
|
||||
|
||||
|
@ -30,8 +30,8 @@ Method at API documentation: [Order details](https://api-docs.cdek.ru/33828849.h
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "7464a243-8e8f-4e72-8461-4ce50c52554e";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
|
||||
Result = OPI_CDEK.GetOrder(Token, UUID, True);
|
||||
```
|
||||
|
@ -35,8 +35,8 @@ The receipt must be previously created. See CreateReceipt
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MTUzMDMsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJhY2NvdW50LWxhbmc6cnVzIiwiY29udHJhY3Q60JjQnC3QoNCkLdCT0JvQky0yMiIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJzb2xpZC1hZGRyZ...";
|
||||
UUID = "72753031-5200-4ab8-b5d1-3fadad3842cb";
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjphbGwiLCJwYXltZW50OmFsbCJdLCJleHAiOjE3Mjk0MzA3NDAsImF1dGhvcml0aWVzIjpbInNoYXJkLWlkOnJ1LTAxIiwiY2xpZW50LWNpdHk60J3QvtCy0L7RgdC40LHQuNGA0YHQuiwg0J3QvtCy0L7RgdC40LHQuNGA0YHQutCw0Y8g0L7QsdC70LDRgdGC0YwiLCJjb250cmFjdDrQmNCcLdCg0KQt0JPQm9CTLTIyIiwiYWNjb3VudC1sYW5nOnJ1cyIsImFwaS12ZXJzaW9uOjEuMSIsImFjY291bnQtdXVpZDplOTI1YmQwZi0wNWE2LTRjNTYtYjczNy00Yjk5YzE0ZjY2OWEiLCJjbGllbnQtaWQtZWM1OmVkNzVlY2Y0LTMwZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "72753031-d85a-4da0-a3d2-4b872903c9ef";
|
||||
|
||||
Result = OPI_CDEK.GetReceipt(Token, UUID, , True); // Server response with a URL
|
||||
|
||||
|
@ -31,8 +31,8 @@ Method at API documentation: [Update an order](https://api-docs.cdek.ru/36989543
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJsb2NhdGlvbjphbGwiLCJvcmRlcjph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wZWQtNDE1My1hZmU5LWViODBiYjUxMmYyMiIsImNvbnRyYWN0LWlkOmRlNDJjYjcxLTZjOGMtNGNmNS04MjIyLWNmYjY2MDQ0ZThkZiIsImNsaWVudC1pZC1lYzQ6MTQzNDgyMzEiLCJjb250cmFnZW50L...";
|
||||
UUID = "965e2d3d-5d3c-47a1-8cf2-89402e9f40fa";
|
||||
|
||||
OrderDescription = New Structure("comment", "NewComment");
|
||||
|
||||
|
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.ArchiveChannel(Token, Channel);
|
||||
```
|
||||
|
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.GetChannelHistory(Token, Channel);
|
||||
```
|
||||
|
@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.GetChannelUserList(Token, Channel);
|
||||
```
|
||||
|
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.GetChannel(Token, Channel);
|
||||
```
|
||||
|
@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
User = "U06UABH3APP";
|
||||
|
||||
Result = OPI_Slack.InviteUsersToChannel(Token, Channel, User);
|
||||
|
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.JoinChannel(Token, Channel);
|
||||
```
|
||||
|
@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
User = "U06UABH3APP";
|
||||
|
||||
Result = OPI_Slack.KickUserFromChannel(Token, Channel, User);
|
||||
|
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
|
||||
Result = OPI_Slack.LeaveChannel(Token, Channel);
|
||||
```
|
||||
|
@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
Name = "testconv" + String(New UUID);
|
||||
|
||||
Result = OPI_Slack.RenameChannel(Token, Channel, Name);
|
||||
|
@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
Purpose = "TestGoal";
|
||||
|
||||
Result = OPI_Slack.SetChannelGoal(Token, Channel, Purpose);
|
||||
|
@ -28,7 +28,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "xoxb-6965308400114-696804637...";
|
||||
Channel = "C07R7MSSPDM";
|
||||
Channel = "C07SP91JSD8";
|
||||
Topic = "TestTopic";
|
||||
|
||||
Result = OPI_Slack.SetChannelTopic(Token, Channel, Topic);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user