POST api/users/{userId}/user_entitydefinition_orders

Inserts User_EntityDefinitionOrders.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

The id of the User to create the User_EntityDefinitionOrders for.

globally unique identifier

Required



Body Parameters

The CreateOrUpdateUserEntityDefinitionOrderViewModel collection representing the User_EntityDefinitionOrders to create.

Collection of CreateOrUpdateUserEntityDefinitionOrderViewModel
NameDescriptionTypeAdditional information
EntityDefinitionId

integer

None.

EntityDefinitionOrder

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "EntityDefinitionId": 1,
    "EntityDefinitionOrder": 2
  },
  {
    "EntityDefinitionId": 1,
    "EntityDefinitionOrder": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfCreateOrUpdateUserEntityDefinitionOrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <CreateOrUpdateUserEntityDefinitionOrderViewModel>
    <EntityDefinitionId>1</EntityDefinitionId>
    <EntityDefinitionOrder>2</EntityDefinitionOrder>
  </CreateOrUpdateUserEntityDefinitionOrderViewModel>
  <CreateOrUpdateUserEntityDefinitionOrderViewModel>
    <EntityDefinitionId>1</EntityDefinitionId>
    <EntityDefinitionOrder>2</EntityDefinitionOrder>
  </CreateOrUpdateUserEntityDefinitionOrderViewModel>
</ArrayOfCreateOrUpdateUserEntityDefinitionOrderViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

None.