POST api/MachineAuthorisedRepresentative

Request Information

URI Parameters

None.

Body Parameters

MachineAuthorisedRepresentative
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerId

integer

None.

Name

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

PostCode

string

None.

Country

string

None.

CreatedDate

date

None.

CreatedBy

integer

None.

LastModifiedDate

date

None.

LastModifiedBy

integer

None.

DeletedDate

date

None.

DeletedBy

integer

None.

CompanyName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CustomerId": 2,
  "Name": "sample string 3",
  "AddressLine1": "sample string 4",
  "AddressLine2": "sample string 5",
  "City": "sample string 6",
  "PostCode": "sample string 7",
  "Country": "sample string 8",
  "CreatedDate": "2025-08-29T20:23:52.1422257+00:00",
  "CreatedBy": 10,
  "LastModifiedDate": "2025-08-29T20:23:52.1422257+00:00",
  "LastModifiedBy": 12,
  "DeletedDate": "2025-08-29T20:23:52.1422257+00:00",
  "DeletedBy": 1,
  "CompanyName": "sample string 13"
}

application/xml, text/xml

Sample:
<MachineAuthorisedRepresentative xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <AddressLine1>sample string 4</AddressLine1>
  <AddressLine2>sample string 5</AddressLine2>
  <City>sample string 6</City>
  <CompanyName>sample string 13</CompanyName>
  <Country>sample string 8</Country>
  <CreatedBy>10</CreatedBy>
  <CreatedDate>2025-08-29T20:23:52.1422257+00:00</CreatedDate>
  <CustomerId>2</CustomerId>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:23:52.1422257+00:00</DeletedDate>
  <Id>1</Id>
  <LastModifiedBy>12</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:23:52.1422257+00:00</LastModifiedDate>
  <Name>sample string 3</Name>
  <PostCode>sample string 7</PostCode>
</MachineAuthorisedRepresentative>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.