POST api/badgemappingapi/add?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

globally unique identifier

None.

Body Parameters

BadgeMappingViewModel
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

site_id

globally unique identifier

None.

source_code

string

String length: inclusive between 0 and 30

target_code

string

String length: inclusive between 0 and 30

description

string

String length: inclusive between 0 and 80

application_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "e8201f7b-87e3-4ad4-81d8-207873d81b18",
  "site_id": "eeee1b6d-2198-46a7-af94-fecc8a4a35d1",
  "source_code": "sample string 3",
  "target_code": "sample string 4",
  "description": "sample string 5",
  "application_date": "2026-01-19T11:31:25.5179341+00:00"
}

application/xml, text/xml

Sample:
<badgemapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <application_date>2026-01-19T11:31:25.5179341+00:00</application_date>
  <description>sample string 5</description>
  <id>e8201f7b-87e3-4ad4-81d8-207873d81b18</id>
  <site_id>eeee1b6d-2198-46a7-af94-fecc8a4a35d1</site_id>
  <source_code>sample string 3</source_code>
  <target_code>sample string 4</target_code>
</badgemapping>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"132d8cc5-e063-4556-b995-ac191eb8de4b"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">132d8cc5-e063-4556-b995-ac191eb8de4b</guid>