PUT api/Contact?associateNo={associateNo}

Endpoint to update a given Contact

Request Information

URI Parameters

NameDescriptionTypeAdditional information
associateNo

integer

Required

Body Parameters

PutContactDto
NameDescriptionTypeAdditional information
AssociateNo

integer

None.

OrgUnit1No

integer

None.

Information1

string

None.

Name

string

None.

MobilePhone

string

None.

EmailAddress

string

None.

Phone

string

None.

PostCode

string

None.

PostalArea

string

None.

CountryNo

integer

None.

Information2

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

Group1

integer

None.

Group2

integer

None.

Group3

integer

None.

Group4

integer

None.

Group5

integer

None.

Group6

integer

None.

Group7

integer

None.

Group8

integer

None.

Group9

integer

None.

Group10

integer

None.

Group11

integer

None.

Group12

integer

None.

ToDate

integer

None.

FromDate

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AssociateNo": 1,
  "OrgUnit1No": 2,
  "Information1": "sample string 3",
  "Name": "sample string 4",
  "MobilePhone": "sample string 5",
  "EmailAddress": "sample string 6",
  "Phone": "sample string 7",
  "PostCode": "sample string 8",
  "PostalArea": "sample string 9",
  "CountryNo": 10,
  "Information2": "sample string 11",
  "AddressLine1": "sample string 12",
  "AddressLine2": "sample string 13",
  "Group1": 14,
  "Group2": 15,
  "Group3": 16,
  "Group4": 17,
  "Group5": 18,
  "Group6": 19,
  "Group7": 20,
  "Group8": 21,
  "Group9": 22,
  "Group10": 23,
  "Group11": 24,
  "Group12": 25,
  "ToDate": 26,
  "FromDate": 27
}

application/xml, text/xml

Sample:
<PutContactDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Put">
  <AddressLine1>sample string 12</AddressLine1>
  <AddressLine2>sample string 13</AddressLine2>
  <AssociateNo>1</AssociateNo>
  <CountryNo>10</CountryNo>
  <EmailAddress>sample string 6</EmailAddress>
  <FromDate>27</FromDate>
  <Group1>14</Group1>
  <Group10>23</Group10>
  <Group11>24</Group11>
  <Group12>25</Group12>
  <Group2>15</Group2>
  <Group3>16</Group3>
  <Group4>17</Group4>
  <Group5>18</Group5>
  <Group6>19</Group6>
  <Group7>20</Group7>
  <Group8>21</Group8>
  <Group9>22</Group9>
  <Information1>sample string 3</Information1>
  <Information2>sample string 11</Information2>
  <MobilePhone>sample string 5</MobilePhone>
  <Name>sample string 4</Name>
  <OrgUnit1No>2</OrgUnit1No>
  <Phone>sample string 7</Phone>
  <PostCode>sample string 8</PostCode>
  <PostalArea>sample string 9</PostalArea>
  <ToDate>26</ToDate>
</PutContactDto>

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 'PutContactDto'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.