POST api/AccountGroup/Save
Request Information
URI Parameters
None.
Body Parameters
AccountGroupSave| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupName | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| GroupType | AccountGroupTypeLookup |
Required |
|
| ParentGroup | AccountGroupLookup |
None. |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"GroupName": "sample string 1",
"Code": "sample string 2",
"GroupType": {
"GroupTypeId": 1,
"GroupTypeName": "sample string 2"
},
"ParentGroup": {
"GroupId": 1,
"GroupName": "sample string 2"
},
"Status": "sample string 3",
"CreateUser": 4,
"CreateIp": "sample string 5"
}
application/xml, text/xml
Sample:
<AccountGroupSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Code>sample string 2</Code>
<CreateIp>sample string 5</CreateIp>
<CreateUser>4</CreateUser>
<GroupName>sample string 1</GroupName>
<GroupType>
<GroupTypeId>1</GroupTypeId>
<GroupTypeName>sample string 2</GroupTypeName>
</GroupType>
<ParentGroup>
<GroupId>1</GroupId>
<GroupName>sample string 2</GroupName>
</ParentGroup>
<Status>sample string 3</Status>
</AccountGroupSave>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.