POST api/v1/GGServiceAccountInfo/Add

Request Information

URI Parameters

None.

Body Parameters

GGServiceAccountInfoModel
NameDescriptionTypeAdditional information
Id

string

None.

EmailAddress

string

None.

DisplayName

string

None.

StorageLimit

integer

None.

StorageUsage

integer

None.

StorageUsageInDrive

integer

None.

UsageInDriveTrash

integer

None.

GetInfoAt

decimal number

None.

ColorCode

string

None.

Name

string

None.

OrderNo

integer

None.

IsDisable

boolean

None.

Note

string

None.

IM_PercentUsage

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "EmailAddress": "sample string 2",
  "DisplayName": "sample string 3",
  "StorageLimit": 1,
  "StorageUsage": 1,
  "StorageUsageInDrive": 1,
  "UsageInDriveTrash": 1,
  "GetInfoAt": 1.1,
  "ColorCode": "sample string 4",
  "Name": "sample string 5",
  "OrderNo": 6,
  "IsDisable": true,
  "Note": "sample string 8",
  "IM_PercentUsage": 9.0
}

application/xml, text/xml

Sample:
<GGServiceAccountInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <ColorCode>sample string 4</ColorCode>
  <DisplayName>sample string 3</DisplayName>
  <EmailAddress>sample string 2</EmailAddress>
  <GetInfoAt>1.1</GetInfoAt>
  <IM_PercentUsage>9</IM_PercentUsage>
  <Id>sample string 1</Id>
  <IsDisable>true</IsDisable>
  <Name>sample string 5</Name>
  <Note>sample string 8</Note>
  <OrderNo>6</OrderNo>
  <StorageLimit>1</StorageLimit>
  <StorageUsage>1</StorageUsage>
  <StorageUsageInDrive>1</StorageUsageInDrive>
  <UsageInDriveTrash>1</UsageInDriveTrash>
</GGServiceAccountInfoModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GGServiceAccountInfoModel'.

Response Information

Resource Description

EzyResultObjectOfGGServiceAccountInfoModel
NameDescriptionTypeAdditional information
Data

GGServiceAccountInfoModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "sample string 1",
    "EmailAddress": "sample string 2",
    "DisplayName": "sample string 3",
    "StorageLimit": 1,
    "StorageUsage": 1,
    "StorageUsageInDrive": 1,
    "UsageInDriveTrash": 1,
    "GetInfoAt": 1.1,
    "ColorCode": "sample string 4",
    "Name": "sample string 5",
    "OrderNo": 6,
    "IsDisable": true,
    "Note": "sample string 8",
    "IM_PercentUsage": 9.0
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfGGServiceAccountInfoModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
    <d2p1:ColorCode>sample string 4</d2p1:ColorCode>
    <d2p1:DisplayName>sample string 3</d2p1:DisplayName>
    <d2p1:EmailAddress>sample string 2</d2p1:EmailAddress>
    <d2p1:GetInfoAt>1.1</d2p1:GetInfoAt>
    <d2p1:IM_PercentUsage>9</d2p1:IM_PercentUsage>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:IsDisable>true</d2p1:IsDisable>
    <d2p1:Name>sample string 5</d2p1:Name>
    <d2p1:Note>sample string 8</d2p1:Note>
    <d2p1:OrderNo>6</d2p1:OrderNo>
    <d2p1:StorageLimit>1</d2p1:StorageLimit>
    <d2p1:StorageUsage>1</d2p1:StorageUsage>
    <d2p1:StorageUsageInDrive>1</d2p1:StorageUsageInDrive>
    <d2p1:UsageInDriveTrash>1</d2p1:UsageInDriveTrash>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfGGServiceAccountInfoModel3BwjWE5f>