POST api/AirlineConfig/CreateSftpCredential
Request Information
URI Parameters
None.
Body Parameters
CreateSftpRequestModelName | Description | Type | Additional information |
---|---|---|---|
AirlineName | string |
Required |
|
Username | string |
Required |
|
Password | string |
Required |
|
MailNotification | Collection of string |
Required |
Request Formats
application/json, text/json
Sample:
{ "AirlineName": "sample string 1", "Username": "sample string 2", "Password": "sample string 3", "MailNotification": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<CreateSftpRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model"> <AirlineName>sample string 1</AirlineName> <MailNotification xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </MailNotification> <Password>sample string 3</Password> <Username>sample string 2</Username> </CreateSftpRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.