POST api/FtpCredential/Save
Request Information
URI Parameters
None.
Body Parameters
FtpCredentialModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| AirlineCode | string |
Required String length: inclusive between 0 and 10 |
|
| Username | string |
Required String length: inclusive between 0 and 200 |
|
| Password | string |
Required String length: inclusive between 0 and 200 |
|
| Port | integer |
Required |
|
| ServerAddress | string |
Required String length: inclusive between 0 and 200 |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"AirlineCode": "sample string 2",
"Username": "sample string 3",
"Password": "sample string 4",
"Port": 1,
"ServerAddress": "sample string 5"
}
multipart/form-data
Sample:
{"Id":1,"AirlineCode":"sample string 2","Username":"sample string 3","Password":"sample string 4","Port":1,"ServerAddress":"sample string 5"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.