POST api/Authorization

Request Information

URI Parameters

None.

Body Parameters

Authorization
NameDescriptionTypeAdditional information
EntityKey

string

None.

EntityDisplayName

string

None.

RowVersion

Collection of byte

None.

CreationDate

date

None.

CreationUser

string

None.

LastWriteDate

date

None.

LastWriteUser

string

None.

UserId

globally unique identifier

None.

Id

globally unique identifier

None.

CanRead

boolean

None.

CanWrite

boolean

None.

CanUpdate

boolean

None.

CanDelete

boolean

None.

MenuItemId

globally unique identifier

None.

GroupId

globally unique identifier

None.

MenuId

globally unique identifier

None.

EntityState

CodeFluentEntityState

None.

Request Formats

application/json, text/json

Sample:
{
  "RowVersion": "QEA=",
  "CreationDate": "2019-10-18T23:58:16.7454067+02:00",
  "CreationUser": "sample string 4",
  "LastWriteDate": "2019-10-18T23:58:16.7454067+02:00",
  "LastWriteUser": "sample string 6",
  "UserId": "193e283a-263b-423d-92e0-8c8dd20c4416",
  "Id": "83e544fb-46fb-46ec-b2a2-df2e7f3f81f5",
  "CanRead": true,
  "CanWrite": true,
  "CanUpdate": true,
  "CanDelete": true,
  "MenuItemId": "3f2a76a8-1376-48ba-b1a5-858a76c96975",
  "GroupId": "445c2e04-5186-428f-aa5f-798a76a73a0b",
  "MenuId": "8ef4182b-1eec-4dfa-a381-f60562bc9b70"
}

application/xml, text/xml

Sample:
<Authorization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Erpeo.Store.Entities">
  <_canDelete>true</_canDelete>
  <_canRead>true</_canRead>
  <_canUpdate>true</_canUpdate>
  <_canWrite>true</_canWrite>
  <_creationDate>2019-10-18T23:58:16.7454067+02:00</_creationDate>
  <_creationUser>sample string 4</_creationUser>
  <_entityState>Created</_entityState>
  <_groupId>445c2e04-5186-428f-aa5f-798a76a73a0b</_groupId>
  <_id>83e544fb-46fb-46ec-b2a2-df2e7f3f81f5</_id>
  <_lastWriteDate>2019-10-18T23:58:16.7454067+02:00</_lastWriteDate>
  <_lastWriteUser>sample string 6</_lastWriteUser>
  <_menuId>8ef4182b-1eec-4dfa-a381-f60562bc9b70</_menuId>
  <_menuItemId>3f2a76a8-1376-48ba-b1a5-858a76c96975</_menuItemId>
  <_raisePropertyChangedEvents>true</_raisePropertyChangedEvents>
  <_rowVersion>QEA=</_rowVersion>
  <_userId>193e283a-263b-423d-92e0-8c8dd20c4416</_userId>
</Authorization>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Authorization
NameDescriptionTypeAdditional information
EntityKey

string

None.

EntityDisplayName

string

None.

RowVersion

Collection of byte

None.

CreationDate

date

None.

CreationUser

string

None.

LastWriteDate

date

None.

LastWriteUser

string

None.

UserId

globally unique identifier

None.

Id

globally unique identifier

None.

CanRead

boolean

None.

CanWrite

boolean

None.

CanUpdate

boolean

None.

CanDelete

boolean

None.

MenuItemId

globally unique identifier

None.

GroupId

globally unique identifier

None.

MenuId

globally unique identifier

None.

EntityState

CodeFluentEntityState

None.

Response Formats

application/json, text/json

Sample:
{
  "RowVersion": "QEA=",
  "CreationDate": "2019-10-18T23:58:16.8235058+02:00",
  "CreationUser": "sample string 4",
  "LastWriteDate": "2019-10-18T23:58:16.8235058+02:00",
  "LastWriteUser": "sample string 6",
  "UserId": "f45948ac-8ec6-4afc-b7b3-91dc32f5327c",
  "Id": "745d0c39-3034-4a7f-99b3-bfc9f1b337ff",
  "CanRead": true,
  "CanWrite": true,
  "CanUpdate": true,
  "CanDelete": true,
  "MenuItemId": "ce73a998-2387-498e-a281-67a09cf03135",
  "GroupId": "5bcfa5f3-0233-4fa2-82b8-c0f6e7b7c0b1",
  "MenuId": "1e1fb442-05a0-4320-aee4-e933cb83a57b"
}

application/xml, text/xml

Sample:
<Authorization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Erpeo.Store.Entities">
  <_canDelete>true</_canDelete>
  <_canRead>true</_canRead>
  <_canUpdate>true</_canUpdate>
  <_canWrite>true</_canWrite>
  <_creationDate>2019-10-18T23:58:16.8235058+02:00</_creationDate>
  <_creationUser>sample string 4</_creationUser>
  <_entityState>Created</_entityState>
  <_groupId>5bcfa5f3-0233-4fa2-82b8-c0f6e7b7c0b1</_groupId>
  <_id>745d0c39-3034-4a7f-99b3-bfc9f1b337ff</_id>
  <_lastWriteDate>2019-10-18T23:58:16.8235058+02:00</_lastWriteDate>
  <_lastWriteUser>sample string 6</_lastWriteUser>
  <_menuId>1e1fb442-05a0-4320-aee4-e933cb83a57b</_menuId>
  <_menuItemId>ce73a998-2387-498e-a281-67a09cf03135</_menuItemId>
  <_raisePropertyChangedEvents>true</_raisePropertyChangedEvents>
  <_rowVersion>QEA=</_rowVersion>
  <_userId>f45948ac-8ec6-4afc-b7b3-91dc32f5327c</_userId>
</Authorization>