POST api/v1/Views
Request Information
URI Parameters
None.
Body Parameters
ViewName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
JournalTypeID | integer |
None. |
|
JournalTypeName | string |
None. |
|
JournalItemID | string |
None. |
|
JournalItemName | string |
None. |
|
UserID | string |
None. |
|
ShowWithoutFolders | boolean |
None. |
|
ViewFilterConditions | Collection of ViewFilterCondition |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "JournalTypeID": 3, "JournalTypeName": "sample string 4", "JournalItemID": "sample string 5", "JournalItemName": "sample string 6", "UserID": "sample string 7", "ShowWithoutFolders": true, "ViewFilterConditions": [ { "ID": 1, "ViewID": 2, "FieldName": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "CombineAsAnd": true, "SortOrder": 6 }, { "ID": 1, "ViewID": 2, "FieldName": "sample string 3", "Operator": "sample string 4", "Value": "sample string 5", "CombineAsAnd": true, "SortOrder": 6 } ] }
application/xml, text/xml
Sample:
<View xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model"> <ID>1</ID> <JournalItemID>sample string 5</JournalItemID> <JournalItemName>sample string 6</JournalItemName> <JournalTypeID>3</JournalTypeID> <JournalTypeName>sample string 4</JournalTypeName> <Name>sample string 2</Name> <ShowWithoutFolders>true</ShowWithoutFolders> <UserID>sample string 7</UserID> <ViewFilterConditions> <ViewFilterCondition> <CombineAsAnd>true</CombineAsAnd> <FieldName>sample string 3</FieldName> <ID>1</ID> <Operator>sample string 4</Operator> <SortOrder>6</SortOrder> <Value>sample string 5</Value> <ViewID>2</ViewID> </ViewFilterCondition> <ViewFilterCondition> <CombineAsAnd>true</CombineAsAnd> <FieldName>sample string 3</FieldName> <ID>1</ID> <Operator>sample string 4</Operator> <SortOrder>6</SortOrder> <Value>sample string 5</Value> <ViewID>2</ViewID> </ViewFilterCondition> </ViewFilterConditions> </View>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>