Drop approved PO file at SFTP path
curl --request POST \
--url sftp://sftp.tangoanalytics.com/outbound/PO \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: text/plain' \
--data '<string>'const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'text/plain'},
body: '<string>'
};
fetch('sftp://sftp.tangoanalytics.com/outbound/PO', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "sftp://sftp.tangoanalytics.com/outbound/PO"
payload = "<string>"
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "text/plain"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)PO Outbound
Drop approved PO file at SFTP path
Virtual operation. Tango selects approved POs (excluding zero-dollar lines)
and writes them to the file. After writing, the prior file is moved to
Processed/<timestamp> and exported POs are flagged Exported.
POST
/
outbound
/
PO
Drop approved PO file at SFTP path
curl --request POST \
--url sftp://sftp.tangoanalytics.com/outbound/PO \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: text/plain' \
--data '<string>'const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'text/plain'},
body: '<string>'
};
fetch('sftp://sftp.tangoanalytics.com/outbound/PO', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "sftp://sftp.tangoanalytics.com/outbound/PO"
payload = "<string>"
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "text/plain"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)Authorizations
SFTP user/password — values not specified in the source design doc.
Body
text/plain
The body is of type file.
Response
200
File delivered.

