Find Jobs
Hire Freelancers

Small Powershell Script for MailChimp

$30-250 USD

Concluído
Publicado há quase 5 anos

$30-250 USD

Pago na entrega
I need to send a trigger on MailChimp to send an email to someone when criteria ismet from my database. I can handle the querying of the database and looping. I just do not have any experience with RESTFUL APIs and posting the ID to the endpoint Trigger: A subscriber's email ID is posted to the endpoint [login to view URL] I have managed to cut and paste this from various sources $id = "463453122973a5e9ea60ddf34594c246dcd" $user = "anythingGoesHere" $apiKey = "apikeyhere" $pair = "${user}:${apiKey}" $bytes = [[login to view URL]]::[login to view URL]($pair) $base64 = [[login to view URL]]::ToBase64String($bytes) $basicAuthValue = "Basic $base64" $Headers = @{ Authorization = $basicAuthValue } $baseUri = "[login to view URL]" $body = @{Id = $id} Invoke-RestMethod -Uri $baseUri -Method Post -Headers $Headers -Body $body This is the error: Invoke-RestMethod : {"type":"[login to view URL]","title":"Invalid Resource","status":400,"detail":"The resource submitted could not be validated. For field-specific details, see the 'errors' array.","instance":"ebb27e6b-4648-4e54-9b54-b900d2c3c901","errors":[{"field":"","message":"Schema describes object, NULL found instead"}]} At C:\Data\Powershell\[login to view URL] char:1 + Invoke-RestMethod -Uri $baseUri -Method Post -Headers $Headers -Body ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: ([login to view URL]:HttpWebRequest) [Invoke-RestMethod], WebException + FullyQualifiedErrorId : WebCmdletWebResponseException,[login to view URL] I am ready to pay someone that knows what they are doing because I am banging my head against a wall.
ID do Projeto: 20452909

Sobre o projeto

5 propostas
Projeto remoto
Ativo há 5 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
The error seems on the body format you pass on the request. It must be in json format instead of plain you did currently
$111 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
5 freelancers estão ofertando em média $150 USD for esse trabalho
Avatar do Usuário
I am good in powershell along with automation and development, please let me know if you are good to award this project to me
$150 USD em 1 dia
5,0 (10 avaliações)
4,4
4,4
Avatar do Usuário
Hey there, I'm a System Engineer with coding skills. I had developed tons of scripts using PowerShell. I can help. Regards.
$250 USD em 7 dias
5,0 (6 avaliações)
3,3
3,3
Avatar do Usuário
⭐⭐⭐⭐⭐ Hi I read your job description carefully. I have developed a lot of websites. I will do my best for your project until you are satisfied. If you hire me, I will finish your job ASAP with the highest quality. Looking forward to the good news! Thank you.
$140 USD em 7 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hello there, I am working as a Sr. Software Engineer in a multinational product company. Among other responsibilities Azure Linux Server maintainance is one of my major responsibility for quite long. I believe I can help you out with this script. Please make sure to consider me before awarding the project to anyone. Thanks and regards Samrat
$100 USD em 5 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
0,0
0
Método de pagamento verificado
Membro desde ago. 21, 2003

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.