POST api/AirlineConfig/UpdateSftpCredential
Request Information
URI Parameters
None.
Body Parameters
UpdateSftpRequestModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required Range: inclusive between 1 and 2147483647 |
|
AirlineName | string |
Required |
|
Username | string |
Required |
|
Password | string |
Required |
|
MailNotification | Collection of string |
Required |
|
IsActive | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "AirlineName": "sample string 2", "Username": "sample string 3", "Password": "sample string 4", "MailNotification": [ "sample string 1", "sample string 2" ], "IsActive": true }
application/xml, text/xml
Sample:
<UpdateSftpRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model"> <AirlineName>sample string 2</AirlineName> <Id>1</Id> <IsActive>true</IsActive> <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 4</Password> <Username>sample string 3</Username> </UpdateSftpRequestModel>
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.