POST api/Idioma

Request Information

URI Parameters

None.

Body Parameters

Idioma
NameDescriptionTypeAdditional information
contactId

globally unique identifier

Required

language

integer

Required

languageName

string

None.

pct_listen

integer

Range: inclusive between 0 and 100

pct_read

integer

Range: inclusive between 0 and 100

pct_write

integer

Range: inclusive between 0 and 100

pct_speak

integer

Range: inclusive between 0 and 100

schoolId

string

None.

schoolIdName

string

None.

businessinthatlanguage

boolean

None.

recordName

string

None.

recordId

globally unique identifier

None.

createdOn

date

None.

modifiedOn

date

None.

createdById

globally unique identifier

None.

modifiedById

globally unique identifier

None.

createdByName

string

None.

modifiedByName

string

None.

ownerId

globally unique identifier

None.

updateSource

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "contactId": "0f8c35cd-23e7-405f-8975-7be7b31cd428",
  "language": 1,
  "languageName": "sample string 1",
  "pct_listen": 1,
  "pct_read": 1,
  "pct_write": 1,
  "pct_speak": 1,
  "schoolId": "sample string 2",
  "schoolIdName": "sample string 3",
  "businessinthatlanguage": true,
  "recordName": "sample string 4",
  "recordId": "e7d7f731-ae7a-4bc9-86e2-ea3c5e996b89",
  "createdOn": "2017-09-21T07:07:23.7774959-05:00",
  "modifiedOn": "2017-09-21T07:07:23.7774959-05:00",
  "createdById": "ec409159-ba1d-4d5c-b91c-09899217d5ed",
  "modifiedById": "4e4cec04-d592-4269-b56c-c540b8708429",
  "createdByName": "sample string 5",
  "modifiedByName": "sample string 6",
  "ownerId": "63ca7642-52ef-429e-a9b3-51171712fad7",
  "updateSource": 1
}

application/xml, text/xml

Sample:
<Idioma xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrmAppsUP.Models">
  <createdById>ec409159-ba1d-4d5c-b91c-09899217d5ed</createdById>
  <createdByName>sample string 5</createdByName>
  <createdOn>2017-09-21T07:07:23.7774959-05:00</createdOn>
  <modifiedById>4e4cec04-d592-4269-b56c-c540b8708429</modifiedById>
  <modifiedByName>sample string 6</modifiedByName>
  <modifiedOn>2017-09-21T07:07:23.7774959-05:00</modifiedOn>
  <ownerId>63ca7642-52ef-429e-a9b3-51171712fad7</ownerId>
  <recordId>e7d7f731-ae7a-4bc9-86e2-ea3c5e996b89</recordId>
  <recordName>sample string 4</recordName>
  <updateSource>1</updateSource>
  <businessinthatlanguage>true</businessinthatlanguage>
  <contactId>0f8c35cd-23e7-405f-8975-7be7b31cd428</contactId>
  <language>1</language>
  <languageName>sample string 1</languageName>
  <pct_listen>1</pct_listen>
  <pct_read>1</pct_read>
  <pct_speak>1</pct_speak>
  <pct_write>1</pct_write>
  <schoolId>sample string 2</schoolId>
  <schoolIdName>sample string 3</schoolIdName>
</Idioma>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Idioma'.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"43895266-c53d-46c2-9383-61e5516754bf"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">43895266-c53d-46c2-9383-61e5516754bf</guid>