POST api/V2/modules/saveCompanyModules/{companyId}

Save used modules

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

globally unique identifier

Required

Body Parameters

Collection of OrgModules
NameDescriptionTypeAdditional information
Id

integer

None.

OrgId

globally unique identifier

None.

ModulId

integer

None.

ModulNavn

string

None.

IsOrgModule

boolean

None.

Used

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "orgId": "0ab985d4-c6d8-4eac-9d59-384175b1f267",
    "modulId": 3,
    "modulNavn": "sample string 4",
    "isOrgModule": true,
    "used": true
  },
  {
    "id": 1,
    "orgId": "0ab985d4-c6d8-4eac-9d59-384175b1f267",
    "modulId": 3,
    "modulNavn": "sample string 4",
    "isOrgModule": true,
    "used": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrgModules xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
  <OrgModules>
    <Id>1</Id>
    <IsOrgModule>true</IsOrgModule>
    <ModulId>3</ModulId>
    <ModulNavn>sample string 4</ModulNavn>
    <OrgId>0ab985d4-c6d8-4eac-9d59-384175b1f267</OrgId>
    <Used>true</Used>
  </OrgModules>
  <OrgModules>
    <Id>1</Id>
    <IsOrgModule>true</IsOrgModule>
    <ModulId>3</ModulId>
    <ModulNavn>sample string 4</ModulNavn>
    <OrgId>0ab985d4-c6d8-4eac-9d59-384175b1f267</OrgId>
    <Used>true</Used>
  </OrgModules>
</ArrayOfOrgModules>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OrgModules
NameDescriptionTypeAdditional information
Id

integer

None.

OrgId

globally unique identifier

None.

ModulId

integer

None.

ModulNavn

string

None.

IsOrgModule

boolean

None.

Used

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "orgId": "118dbaad-a414-4108-b74b-578327f1c3b5",
  "modulId": 3,
  "modulNavn": "sample string 4",
  "isOrgModule": true,
  "used": true
}

application/xml, text/xml

Sample:
<OrgModules xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
  <Id>1</Id>
  <IsOrgModule>true</IsOrgModule>
  <ModulId>3</ModulId>
  <ModulNavn>sample string 4</ModulNavn>
  <OrgId>118dbaad-a414-4108-b74b-578327f1c3b5</OrgId>
  <Used>true</Used>
</OrgModules>