Site Survey
This endpoint retrieves the site survey record for a specified merchant, identified by their merchant Id/Number provided as a route parameter. The response returns all the relevant details of the site survey, such as site description, agreement accepted status, and other information within the response body.
Merchant number used to get Site Survey details
Correlation Id for the request
GET /api/demographics/v1/SiteSurveys/{merchantNumber} HTTP/1.1
Host: localhost:5000
Accept: */*
{
"siteTypeID": 3,
"otherSiteTypeDescription": "Mobile Kiosk",
"siteSurveyConductedInPerson": true,
"merchantAcquisitionTypeID": 2,
"validIDVerified": true,
"inventoryMatchesProductSold": false,
"inventoryMatchesProductSoldComments": "The inventory contains outdated models not listed in the product catalog.",
"agreementAccepted": true,
"selfSignUpApplication": false
}
This endpoint is used to update an existing site survey record for a specific merchant, identified by their merchant number. The request requires the merchantNumber
to be supplied as a route parameter and the updated site survey details to be passed in the request body. The site survey details should include all necessary information such as the survey's unique identifier (SiteSurveyID
), agreement acceptance status, site description, and any additional metadata required to ensure accurate record updates.
Merchant number used to update Site Survey.
Correlation Id for the request
Site values are from 1 to 4, representing different site types i.e Other = 1, BrickAndMortar = 2, Tradeshow = 3, Residence.
3
A description of the site type, used when SiteTypeID is 1 or "Other".
Mobile Kiosk
Indicates whether the site survey was conducted in person.
true
The type of merchant acquisition. Valid values are from 1 to 3, representing acquisition methods.
2
Indicates whether a valid ID has been verified.
true
Indicates whether the inventory matches the products being sold.
false
Additional comments if the inventory does not match the products being sold.
The inventory contains outdated models not listed in the product catalog.
Indicates whether the agreement has been accepted by the merchant.
true
Indicates whether the application was submitted via self-sign-up.
false
PUT /api/demographics/v1/SiteSurveys/{merchantNumber} HTTP/1.1
Host: localhost:5000
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 351
{
"siteTypeID": 3,
"otherSiteTypeDescription": "Mobile Kiosk",
"siteSurveyConductedInPerson": true,
"merchantAcquisitionTypeID": 2,
"validIDVerified": true,
"inventoryMatchesProductSold": false,
"inventoryMatchesProductSoldComments": "The inventory contains outdated models not listed in the product catalog.",
"agreementAccepted": true,
"selfSignUpApplication": false
}
{
"siteTypeID": 3,
"otherSiteTypeDescription": "Mobile Kiosk",
"siteSurveyConductedInPerson": true,
"merchantAcquisitionTypeID": 2,
"validIDVerified": true,
"inventoryMatchesProductSold": false,
"inventoryMatchesProductSoldComments": "The inventory contains outdated models not listed in the product catalog.",
"agreementAccepted": true,
"selfSignUpApplication": false
}
Was this helpful?