Update an Account

Update an account associated to a customer based on the given details.

Securityoauth2
Request
Request Body schema:
id
integer or null <int32>

Unique identifier of agent.

code
string or null

Indicates code of account.

createdBy
string or null

Indicates user created

modifiedBy
string or null

Indicates user modified.

createdDate
string <date-time>

Indicates creation date.

modifiedDate
string <date-time>

Indicates modification date.

isLikeSearch
boolean

Set to true if it is LikeSearch for filtering.

isDirty
boolean

Set to true in edit mode.

accountName
string or null

Name of the account.

type
integer <int32> (VAM.DealFoundry.Services.Entities.UserType)
Enum: 0 1 2
since
string <date-time>

Indicates the date when the account was created

businessStarted
string <date-time>

Indicates the date when the business was started

sein
string or null

Indicates SEIN number

industryType
string or null

Indicates type of industy

naicsCode
string or null

Indicates NAICS code

income
number <double>

Indicates income

homeOwnership
string or null

Indicates home ownership.

education
string or null

Indicates education

occupation
string or null

Indicates occupation.

maritalStatus
string or null

Indicates marital status.

numberOfKids
integer <int32>

indicates count of kids

contactNamePrefix
string or null

Indicates name prefix

fein
string or null

Indicates FEIN number

displayName
string or null

Indicates display name

firstName
string or null

Indicates first name

middleName
string or null

Indicates middle Name

lastName
string or null

Indicates last name

Array of objects or null (VAM.DealFoundry.Services.Entities.AccountAddress)

address of the customer

Array of objects or null (VAM.DealFoundry.Services.Entities.Emails)

email of the customer

Array of objects or null (VAM.DealFoundry.Services.Entities.SocialNetworks)

Indicate social networks

Array of objects or null (VAM.DealFoundry.Services.Entities.PhoneNumbers)

indicate phonenumbers of customer

additionalInfo
string or null

Indicates additional information of account

object (VAM.DealFoundry.Services.Entities.AccountContext)
status
string or null

Indicates status

description
string or null

Indicates description

object (VAM.DealFoundry.Services.Entities.Summary)
totalRecords
integer <int32>

Count of records

prospectId
integer <int32>

Unique identifier of prospect

customerId
integer <int32>

Unique identifier of customer

customerType
integer <int32> (VAM.DealFoundry.Services.Entities.CustomerType)
Enum: 0 1
doingBusinessAs
string or null

Indicats business operations

primaryState
string or null

Indicates primary state

legalEntityType
string or null

Indicates legal entity type

effectiveDate
string <date-time>

Indicates start date

isMailingAddressAsPhysical
boolean

Set to true if it IsMailingAddressAsPhysical

agencyName
string or null

Name of the agency

agentName
string or null

Name of the agent

agentCode
string or null

Code for agent

pasAccountId
integer <int32>

Unique identifier of PAS account

verifiedBy
string or null

Indicates user verified

Responses
200

Success

401

Unauthorized

403

Forbidden

put/api/v1/accounts
Request samples
{
  • "id": 0,
  • "code": "string",
  • "createdBy": "string",
  • "modifiedBy": "string",
  • "createdDate": "2019-08-24T14:15:22Z",
  • "modifiedDate": "2019-08-24T14:15:22Z",
  • "isLikeSearch": true,
  • "isDirty": true,
  • "accountName": "string",
  • "type": 0,
  • "since": "2019-08-24T14:15:22Z",
  • "businessStarted": "2019-08-24T14:15:22Z",
  • "sein": "string",
  • "industryType": "string",
  • "naicsCode": "string",
  • "income": 0,
  • "homeOwnership": "string",
  • "education": "string",
  • "occupation": "string",
  • "maritalStatus": "string",
  • "numberOfKids": 0,
  • "contactNamePrefix": "string",
  • "fein": "string",
  • "displayName": "string",
  • "firstName": "string",
  • "middleName": "string",
  • "lastName": "string",
  • "address": [
    ],
  • "emails": [
    ],
  • "socialNetWorks": [
    ],
  • "phoneNumbers": [
    ],
  • "additionalInfo": "string",
  • "accountContext": {
    },
  • "status": "string",
  • "description": "string",
  • "summary": {
    },
  • "totalRecords": 0,
  • "prospectId": 0,
  • "customerId": 0,
  • "customerType": 0,
  • "doingBusinessAs": "string",
  • "primaryState": "string",
  • "legalEntityType": "string",
  • "effectiveDate": "2019-08-24T14:15:22Z",
  • "isMailingAddressAsPhysical": true,
  • "agencyName": "string",
  • "agentName": "string",
  • "agentCode": "string",
  • "pasAccountId": 0,
  • "verifiedBy": "string"
}
Response samples
No sample