GET api/Mapping/GetUserInfo?loginusername={loginusername}&commType={commType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
loginusername

string

Required

commType

string

Required

Body Parameters

None.

Response Information

Resource Description

ContMapping
NameDescriptionTypeAdditional information
contname

string

None.

contcode

string

None.

contmobile

string

None.

contemail

string

None.

distid

string

None.

distname

string

None.

contprojmapping

Collection of ContProjMapping

None.

Response Formats

application/json, text/json

Sample:
{
  "contname": "sample string 1",
  "contcode": "sample string 2",
  "contmobile": "sample string 3",
  "contemail": "sample string 4",
  "distid": "sample string 5",
  "distname": "sample string 6",
  "contprojmapping": [
    {
      "projectid": "sample string 1",
      "projectname": "sample string 2"
    },
    {
      "projectid": "sample string 1",
      "projectname": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ContMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TSWDCW.Models">
  <contname>sample string 1</contname>
  <contcode>sample string 2</contcode>
  <contmobile>sample string 3</contmobile>
  <contemail>sample string 4</contemail>
  <distid>sample string 5</distid>
  <distname>sample string 6</distname>
  <contprojmapping>
    <ContProjMapping>
      <projectid>sample string 1</projectid>
      <projectname>sample string 2</projectname>
    </ContProjMapping>
    <ContProjMapping>
      <projectid>sample string 1</projectid>
      <projectname>sample string 2</projectname>
    </ContProjMapping>
  </contprojmapping>
</ContMapping>