swagger.yaml 257 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. ermcp.ExposureDetailRsp:
  844. properties:
  845. areauserid:
  846. description: 机构ID
  847. type: integer
  848. changeQty:
  849. description: 套保变动量
  850. type: number
  851. contracttype:
  852. description: 现货合同类型 - 1:采购 -1:销售
  853. type: integer
  854. convertfactor:
  855. description: 标仓系数
  856. type: number
  857. convertratio:
  858. description: 套保系数
  859. type: number
  860. createtime:
  861. description: 时间
  862. type: string
  863. enumdicname:
  864. description: 现货商品单位名称
  865. type: string
  866. logtype:
  867. description: 类型 - 1:套保计划 2:现货合同
  868. type: integer
  869. middlegoodsId:
  870. description: 套保商品id
  871. type: integer
  872. middlegoodscode:
  873. description: 套保商品代码
  874. type: string
  875. middlegoodsname:
  876. description: 套保商品名称
  877. type: string
  878. qty:
  879. description: 数量
  880. type: number
  881. relateNo:
  882. description: 现货合同/套保计划编号
  883. type: string
  884. wrstandardcode:
  885. description: 现货商品代码
  886. type: string
  887. wrstandardid:
  888. description: 现货商品ID
  889. type: integer
  890. wrstandardname:
  891. description: 现货商品名称
  892. type: string
  893. type: object
  894. ermcp.ExposureSpotRsp:
  895. properties:
  896. areauserid:
  897. description: 所属机构
  898. type: integer
  899. decreaseqty:
  900. description: 减少数量=-(销售已定价数量+采购计划数量)
  901. type: number
  902. increaseqty:
  903. description: 增加数量=销售计划数量+采购已定价数量
  904. type: number
  905. oritoalspotqty:
  906. description: 昨日数量
  907. type: number
  908. totalspotqty:
  909. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  910. type: number
  911. updatetime:
  912. description: 更新时间
  913. type: string
  914. wrstandardcode:
  915. description: 现货品种代码
  916. type: string
  917. wrstandardid:
  918. description: 现货商品ID
  919. type: integer
  920. wrstandardname:
  921. description: 现货品种
  922. type: string
  923. type: object
  924. ermcp.QryBusinessDjRsp:
  925. properties:
  926. amount:
  927. description: 点价金额=(点价价格+升贴水)*点价数量
  928. type: number
  929. applyid:
  930. description: 申请人
  931. type: string
  932. applyname:
  933. description: 申请人名称
  934. type: string
  935. applystatus:
  936. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  937. type: integer
  938. applytime:
  939. description: 申请时间
  940. type: string
  941. auditname:
  942. description: 审核人名称
  943. type: string
  944. audittime:
  945. description: 审核时间
  946. type: string
  947. buyusername:
  948. description: 采购方名称
  949. type: string
  950. contractno:
  951. description: 合同编号
  952. type: string
  953. contractstatus:
  954. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  955. type: integer
  956. contracttype:
  957. description: 现货合同类型 - 1:采购 -1:销售
  958. type: integer
  959. enumdicname:
  960. description: 单位名称
  961. type: string
  962. goodscode:
  963. description: 点价合约
  964. type: string
  965. goodsname:
  966. description: 商品名称
  967. type: string
  968. operateapplyid:
  969. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  970. type: string
  971. operateapplytype:
  972. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  973. type: integer
  974. pricedPrice:
  975. description: 点价价格(非必填)
  976. type: number
  977. pricedQty:
  978. description: 点价数量(非必填)
  979. type: number
  980. pricemove:
  981. description: 升贴水
  982. type: number
  983. pricetype:
  984. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  985. type: integer
  986. relatedid:
  987. description: 现货合同ID
  988. type: string
  989. sellusername:
  990. description: 销售方名字
  991. type: string
  992. userid:
  993. description: 用户ID
  994. type: integer
  995. type: object
  996. ermcp.QryBussinessFpRsp:
  997. properties:
  998. applyid:
  999. description: 申请人
  1000. type: string
  1001. applyname:
  1002. description: 申请人名称
  1003. type: string
  1004. applystatus:
  1005. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1006. type: integer
  1007. applytime:
  1008. description: 申请时间
  1009. type: string
  1010. auditname:
  1011. description: 审核人名称
  1012. type: string
  1013. audittime:
  1014. description: 审核时间
  1015. type: string
  1016. buyusername:
  1017. description: 采购方名称
  1018. type: string
  1019. contractno:
  1020. description: 合同编号
  1021. type: string
  1022. contractstatus:
  1023. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1024. type: integer
  1025. contracttype:
  1026. description: 现货合同类型 - 1:采购 -1:销售
  1027. type: integer
  1028. enumdicname:
  1029. description: 单位名称
  1030. type: string
  1031. goodscode:
  1032. description: 点价合约
  1033. type: string
  1034. goodsname:
  1035. description: 商品名称
  1036. type: string
  1037. invoiceAmount:
  1038. description: 已开收票金额(销售为开票,采购为收票)
  1039. type: number
  1040. operateapplyid:
  1041. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1042. type: string
  1043. operateapplytype:
  1044. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1045. type: integer
  1046. pricemove:
  1047. description: 升贴水
  1048. type: number
  1049. pricetype:
  1050. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1051. type: integer
  1052. relatedid:
  1053. description: 现货合同ID
  1054. type: string
  1055. sellusername:
  1056. description: 销售方名字
  1057. type: string
  1058. userid:
  1059. description: 用户ID
  1060. type: integer
  1061. type: object
  1062. ermcp.QryBussinessJsRsp:
  1063. properties:
  1064. addmargin:
  1065. description: 追加保证金(非必填)
  1066. type: number
  1067. applyid:
  1068. description: 申请人
  1069. type: string
  1070. applyname:
  1071. description: 申请人名称
  1072. type: string
  1073. applystatus:
  1074. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1075. type: integer
  1076. applytime:
  1077. description: 申请时间
  1078. type: string
  1079. auditname:
  1080. description: 审核人名称
  1081. type: string
  1082. audittime:
  1083. description: 审核时间
  1084. type: string
  1085. buyusername:
  1086. description: 采购方名称
  1087. type: string
  1088. contractno:
  1089. description: 合同编号
  1090. type: string
  1091. contractstatus:
  1092. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1093. type: integer
  1094. contracttype:
  1095. description: 现货合同类型 - 1:采购 -1:销售
  1096. type: integer
  1097. decmargin:
  1098. description: 减少保证金(非必填)
  1099. type: number
  1100. enumdicname:
  1101. description: 单位名称
  1102. type: string
  1103. goodscode:
  1104. description: 点价合约
  1105. type: string
  1106. goodsname:
  1107. description: 商品名称
  1108. type: string
  1109. operateapplyid:
  1110. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1111. type: string
  1112. operateapplytype:
  1113. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1114. type: integer
  1115. pricemove:
  1116. description: 升贴水
  1117. type: number
  1118. pricetype:
  1119. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1120. type: integer
  1121. reckonadjustamount:
  1122. description: 结算调整金额(非必填)
  1123. type: number
  1124. reckonosamount:
  1125. description: 结算溢短金额(非必填)
  1126. type: number
  1127. reckonotheramount:
  1128. description: 结算其他费用(非必填)
  1129. type: number
  1130. reckonrealqty:
  1131. description: 结算实际数量(非必填)
  1132. type: number
  1133. relatedid:
  1134. description: 现货合同ID
  1135. type: string
  1136. sellusername:
  1137. description: 销售方名字
  1138. type: string
  1139. userid:
  1140. description: 用户ID
  1141. type: integer
  1142. type: object
  1143. ermcp.QryBussinessKxRsp:
  1144. properties:
  1145. applyid:
  1146. description: 申请人
  1147. type: string
  1148. applyname:
  1149. description: 申请人名称
  1150. type: string
  1151. applystatus:
  1152. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1153. type: integer
  1154. applytime:
  1155. description: 申请时间
  1156. type: string
  1157. auditname:
  1158. description: 审核人名称
  1159. type: string
  1160. audittime:
  1161. description: 审核时间
  1162. type: string
  1163. buyusername:
  1164. description: 采购方名称
  1165. type: string
  1166. contractno:
  1167. description: 合同编号
  1168. type: string
  1169. contractstatus:
  1170. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1171. type: integer
  1172. contracttype:
  1173. description: 现货合同类型 - 1:采购 -1:销售
  1174. type: integer
  1175. deductamount:
  1176. description: 退款(非必填)
  1177. type: number
  1178. enumdicname:
  1179. description: 单位名称
  1180. type: string
  1181. goodscode:
  1182. description: 点价合约
  1183. type: string
  1184. goodsname:
  1185. description: 商品名称
  1186. type: string
  1187. kxtype:
  1188. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1189. type: integer
  1190. operateapplyid:
  1191. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1192. type: string
  1193. operateapplytype:
  1194. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1195. type: integer
  1196. payamount:
  1197. description: 收付款(非必填)
  1198. type: number
  1199. pricemove:
  1200. description: 升贴水
  1201. type: number
  1202. pricetype:
  1203. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1204. type: integer
  1205. relatedid:
  1206. description: 现货合同ID
  1207. type: string
  1208. sellusername:
  1209. description: 销售方名字
  1210. type: string
  1211. userid:
  1212. description: 用户ID
  1213. type: integer
  1214. type: object
  1215. ermcp.QryErmcpRsp:
  1216. properties:
  1217. accountid:
  1218. description: 账户ID
  1219. type: string
  1220. accountname:
  1221. description: 账户名称
  1222. type: string
  1223. contracctstatus:
  1224. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1225. type: integer
  1226. contractno:
  1227. description: 合同编号
  1228. type: string
  1229. contracttype:
  1230. description: 合同类型 1-采购, -1-销售
  1231. type: integer
  1232. convertfactor:
  1233. description: 标仓系数
  1234. type: number
  1235. daikaiamount:
  1236. description: 待开票额
  1237. type: number
  1238. deliveryenddate:
  1239. description: 交割结束日
  1240. type: string
  1241. deliverygoodscode:
  1242. description: 现货商品代码
  1243. type: string
  1244. deliverygoodsid:
  1245. description: 现货商品ID
  1246. type: integer
  1247. deliverygoodsname:
  1248. description: 现货商品名称
  1249. type: string
  1250. deliverystartdate:
  1251. description: 交割开始日
  1252. type: string
  1253. enddate:
  1254. description: 点价结束日
  1255. type: string
  1256. enumdicname:
  1257. description: 单位名称
  1258. type: string
  1259. goodscode:
  1260. description: 点价商品代码
  1261. type: string
  1262. goodsid:
  1263. description: 点价商品ID
  1264. type: integer
  1265. invoiceamount:
  1266. description: 已开票额
  1267. type: number
  1268. loanamount:
  1269. description: 贷款总额=已定价额+调整金额
  1270. type: number
  1271. margin:
  1272. description: 保证金
  1273. type: number
  1274. payamount:
  1275. description: 已收付额(收款或付款)
  1276. type: number
  1277. price:
  1278. description: 价格
  1279. type: number
  1280. pricedamount:
  1281. description: 已定价额
  1282. type: number
  1283. pricedavg:
  1284. description: 已点均价
  1285. type: number
  1286. pricedqty:
  1287. description: 已定价量
  1288. type: number
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. producttype:
  1296. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1297. type: integer
  1298. qty:
  1299. description: 合同量
  1300. type: number
  1301. reckonadjustamount:
  1302. description: 调整金额
  1303. type: number
  1304. reckonedamount:
  1305. description: 已收付额(已确定额)
  1306. type: number
  1307. reckonotheramount:
  1308. description: 其它费用
  1309. type: number
  1310. reckonrealqty:
  1311. description: 已确定量
  1312. type: number
  1313. remark:
  1314. description: 备注
  1315. type: string
  1316. spotcontractid:
  1317. description: 合同ID
  1318. type: string
  1319. spotgoodsdesc:
  1320. description: 商品型号(商品规格)
  1321. type: string
  1322. startdate:
  1323. description: 点价开始日
  1324. type: string
  1325. totalamount:
  1326. description: 合计总额
  1327. type: number
  1328. unpayamount:
  1329. description: 待支收额(支付或收款)
  1330. type: number
  1331. unpricedqty:
  1332. description: 未定价量
  1333. type: number
  1334. unsureqty:
  1335. description: 未确定量
  1336. type: number
  1337. userid:
  1338. description: 用户ID
  1339. type: integer
  1340. type: object
  1341. ermcp.QryHedgePlanRsp:
  1342. properties:
  1343. areauserid:
  1344. description: 用户ID
  1345. type: integer
  1346. contracttype:
  1347. description: 计划类型 - 1:采购 -1:销售
  1348. type: integer
  1349. convertfactor:
  1350. description: 标仓系数
  1351. type: number
  1352. deliverygoodsid:
  1353. description: 现货品种ID
  1354. type: integer
  1355. deliverygoodsname:
  1356. description: 现货品种名称
  1357. type: string
  1358. hedgeplanid:
  1359. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1360. type: string
  1361. hedgeplanno:
  1362. description: 套保计划编号(名称)
  1363. type: string
  1364. hedgeplanstatus:
  1365. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1366. type: integer
  1367. planqty:
  1368. description: 计划数量
  1369. type: number
  1370. plantime:
  1371. description: 计划时间
  1372. type: string
  1373. producttype:
  1374. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1375. type: integer
  1376. remark:
  1377. description: 备注
  1378. type: string
  1379. spotgoodsdesc:
  1380. description: 商品型号
  1381. type: string
  1382. wrstandardid:
  1383. description: 现货商品ID
  1384. type: integer
  1385. wrstandardname:
  1386. description: 现货商品名称
  1387. type: string
  1388. type: object
  1389. ermcp.QryOPLogRsp:
  1390. properties:
  1391. aftervalue:
  1392. description: 变更后
  1393. type: number
  1394. applyid:
  1395. description: 操作人ID
  1396. type: string
  1397. applyname:
  1398. description: 操作人名称
  1399. type: string
  1400. beforevalue:
  1401. description: 变更前
  1402. type: number
  1403. biztype:
  1404. description: 业务类型 - 1:套保计划 2:现货合同
  1405. type: integer
  1406. contracttype:
  1407. description: 现货合同类型 - 1:采购 -1:销售
  1408. type: integer
  1409. logvalue:
  1410. description: 数值
  1411. type: number
  1412. operatelogtype:
  1413. description: 操作流水类型
  1414. type: integer
  1415. operatelogtypedesc:
  1416. description: 操作流水类型名称
  1417. type: string
  1418. relatedid:
  1419. description: 现货合同ID\套保计划
  1420. type: string
  1421. updatetime:
  1422. description: 更新时间
  1423. type: string
  1424. type: object
  1425. ermcp.QrySpotContractRsp:
  1426. properties:
  1427. amount:
  1428. description: 金额 [1:一口价、3:暂定价]
  1429. type: number
  1430. buyuserid:
  1431. description: 采购方ID
  1432. type: integer
  1433. buyusername:
  1434. description: 采购方名称
  1435. type: string
  1436. contracctstatus:
  1437. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1438. type: integer
  1439. contractno:
  1440. description: 现货合同编号
  1441. type: string
  1442. contracttype:
  1443. description: 现货合同类型 - 1:采购 -1:销售
  1444. type: integer
  1445. convertfactor:
  1446. description: 标仓系数
  1447. type: number
  1448. deliveryenddate:
  1449. description: 交收期(结束)
  1450. type: string
  1451. deliverygoodscode:
  1452. description: 现货品种代码
  1453. type: string
  1454. deliverygoodsid:
  1455. description: 现货品种ID
  1456. type: integer
  1457. deliverygoodsname:
  1458. description: 现货品种名称
  1459. type: string
  1460. deliverystartdate:
  1461. description: 交收期(开始)
  1462. type: string
  1463. enddate:
  1464. description: 点价结束日期 [2:点价 3:暂定价]
  1465. type: string
  1466. enumdicname:
  1467. description: 单位名称
  1468. type: string
  1469. goodscode:
  1470. description: 点价合约代码
  1471. type: string
  1472. goodsid:
  1473. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  1474. type: integer
  1475. margin:
  1476. description: 当前保证金
  1477. type: number
  1478. price:
  1479. description: 价格\暂定价 [1:一口价、3:暂定价]
  1480. type: number
  1481. pricemove:
  1482. description: 升贴水 [2:点价 3:暂定价]
  1483. type: number
  1484. pricetype:
  1485. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1486. type: integer
  1487. producttype:
  1488. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1489. type: integer
  1490. qty:
  1491. description: 数量
  1492. type: number
  1493. remark:
  1494. description: 备注
  1495. type: string
  1496. selluserid:
  1497. description: 销售方ID
  1498. type: integer
  1499. sellusername:
  1500. description: 销售方名称
  1501. type: string
  1502. spotcontractid:
  1503. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  1504. type: string
  1505. spotgoodsdesc:
  1506. description: 商品型号
  1507. type: string
  1508. startdate:
  1509. description: 点价开始日期 [2:点价 3:暂定价]
  1510. type: string
  1511. userid:
  1512. description: 机构ID
  1513. type: integer
  1514. type: object
  1515. ermcp.QryUserInfoRsp:
  1516. properties:
  1517. address:
  1518. description: 通讯地址
  1519. type: string
  1520. attachment1:
  1521. description: 附件1
  1522. type: string
  1523. cardfrontphotourl:
  1524. description: 证件正面图片地址
  1525. type: string
  1526. cardnum:
  1527. description: 证件号码
  1528. type: string
  1529. cardtype:
  1530. description: 证件类型
  1531. type: integer
  1532. cardtypename:
  1533. description: 证件类型名称
  1534. type: string
  1535. cityid:
  1536. description: 市
  1537. type: integer
  1538. countryid:
  1539. description: 国家
  1540. type: integer
  1541. customername:
  1542. description: 企业名称
  1543. type: string
  1544. memberuserid:
  1545. description: 所属机构ID
  1546. type: integer
  1547. mobile:
  1548. description: 手机号码
  1549. type: string
  1550. provinceid:
  1551. description: 省
  1552. type: integer
  1553. remark:
  1554. description: 备注
  1555. type: string
  1556. status:
  1557. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1558. type: integer
  1559. statusdesc:
  1560. description: 账户状态中文描述
  1561. type: string
  1562. telphone:
  1563. description: 联系电话
  1564. type: string
  1565. userid:
  1566. description: 用户ID
  1567. type: integer
  1568. userinfotype:
  1569. description: 客户类型
  1570. type: string
  1571. type: object
  1572. ermcp.QryWrStandardRsp:
  1573. properties:
  1574. areauserid:
  1575. description: 所属机构
  1576. type: integer
  1577. createtime:
  1578. description: 创建时间
  1579. type: string
  1580. creatorid:
  1581. description: 创建人
  1582. type: integer
  1583. deliverygoodsid:
  1584. description: 品种ID
  1585. type: integer
  1586. enumdicname:
  1587. description: 单位名称
  1588. type: string
  1589. minivalue:
  1590. description: 最小变动值
  1591. type: integer
  1592. minivaluedp:
  1593. description: 最小变动值小数位
  1594. type: integer
  1595. realminivalue:
  1596. description: 实际最小变动值
  1597. type: integer
  1598. realminivaluedp:
  1599. description: 实际最小变动值小数位
  1600. type: integer
  1601. unitid:
  1602. description: 单位ID
  1603. type: integer
  1604. wrstandardcode:
  1605. description: 现货商品代码
  1606. type: string
  1607. wrstandardid:
  1608. description: 现货商品ID(SEQ_WRSTANDARD)
  1609. type: integer
  1610. wrstandardname:
  1611. description: 现货商品名称
  1612. type: string
  1613. type: object
  1614. ermcp.RealtimeExposureRsp:
  1615. properties:
  1616. areaUserID:
  1617. description: 所属机构
  1618. type: integer
  1619. buyFutureQty:
  1620. description: 买入期货数量
  1621. type: number
  1622. buyPlanQty:
  1623. description: 采购计划数量
  1624. type: number
  1625. buyPricedQty:
  1626. description: 采购合同已定价数量
  1627. type: number
  1628. middleGoodsCode:
  1629. description: 套保品种代码
  1630. type: string
  1631. middleGoodsHedgeRatio:
  1632. description: 应套保比例
  1633. type: number
  1634. middleGoodsID:
  1635. description: 套保品种
  1636. type: integer
  1637. middleGoodsName:
  1638. description: '************以下需计算或非redis数据************//'
  1639. type: string
  1640. needHedgeExposoure:
  1641. description: 应套保敞口
  1642. type: number
  1643. needHedgeRatio:
  1644. description: 应套保敞口比例
  1645. type: number
  1646. oriBuyFutureQty:
  1647. description: 期初买入期货数量
  1648. type: integer
  1649. oriBuyPlanQty:
  1650. description: 期初采购计划数量
  1651. type: number
  1652. oriBuyPricedQty:
  1653. description: 期初采购合同已定价数量
  1654. type: number
  1655. oriSellFutureQty:
  1656. description: 期初卖出期货数量
  1657. type: integer
  1658. oriSellPlanQty:
  1659. description: 期初销售计划数量
  1660. type: number
  1661. oriSellPricedQty:
  1662. description: 期初销售合同已定价数量
  1663. type: number
  1664. oriTotalFutuQty:
  1665. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  1666. type: integer
  1667. oriTotalSpotQty:
  1668. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  1669. type: number
  1670. sellFutureQty:
  1671. description: 卖出期货数量
  1672. type: number
  1673. sellPlanQty:
  1674. description: 销售计划数量
  1675. type: number
  1676. sellPricedQty:
  1677. description: 销售合同已定价数量
  1678. type: number
  1679. totalExposure:
  1680. description: 总敞口
  1681. type: number
  1682. totalFutureQty:
  1683. description: 期货数量
  1684. type: number
  1685. totalHedgeRatio:
  1686. description: 敞口比例
  1687. type: number
  1688. totalNeedHedgeQty:
  1689. description: 期货应套保量
  1690. type: number
  1691. totalSpotQty:
  1692. description: 现货数量
  1693. type: number
  1694. type: object
  1695. erms2.QueryArbitrageStrategyRsp:
  1696. properties:
  1697. applybasis:
  1698. description: 申请基差
  1699. type: number
  1700. asapplyid:
  1701. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1702. type: string
  1703. asname:
  1704. description: 策略名称
  1705. type: string
  1706. asno:
  1707. description: 策略编号
  1708. type: string
  1709. basischangepl:
  1710. description: 基差变动损益[结算更新]
  1711. type: number
  1712. biztype:
  1713. description: 业务类型 - 1:正向套利 -1:反向套利
  1714. type: integer
  1715. closetradedate:
  1716. description: 完结交易日(yyyyMMdd)
  1717. type: string
  1718. curbasis:
  1719. description: 当前基差[结算更新]
  1720. type: number
  1721. deliverygoodsid:
  1722. description: 现货品种ID
  1723. type: integer
  1724. futureavgprice:
  1725. description: 期货建仓均价
  1726. type: number
  1727. futurecloseamount:
  1728. description: 期货平仓金额
  1729. type: number
  1730. futurecloseqty:
  1731. description: 期货平仓数量
  1732. type: number
  1733. futureopenamount:
  1734. description: 期货开仓金额
  1735. type: number
  1736. futureopenqty:
  1737. description: 期货开仓数量
  1738. type: number
  1739. futurepl:
  1740. description: 期货总盈亏[结算更新]
  1741. type: number
  1742. futureqty:
  1743. description: 期货持仓数量
  1744. type: number
  1745. futurequote:
  1746. description: 期货额度
  1747. type: number
  1748. goodsgroupid:
  1749. description: 期货品种ID
  1750. type: integer
  1751. marketid:
  1752. description: 市场ID
  1753. type: integer
  1754. netexposure:
  1755. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1756. type: number
  1757. netexposurepl:
  1758. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1759. type: number
  1760. netexposurerate:
  1761. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1762. type: number
  1763. openbasis:
  1764. description: 建仓基差
  1765. type: number
  1766. pricedspotqty:
  1767. description: 已定价现货数量
  1768. type: number
  1769. pricedspotqtynotax:
  1770. description: 已定价现货不含税数量
  1771. type: number
  1772. remark:
  1773. description: 备注
  1774. type: string
  1775. spotavgprice:
  1776. description: 现货均价
  1777. type: number
  1778. spotbuyamount:
  1779. description: 现货采购金额
  1780. type: number
  1781. spotbuyqty:
  1782. description: 现货采购数量
  1783. type: number
  1784. spotpl:
  1785. description: 现货总盈亏[结算更新]
  1786. type: number
  1787. spotquota:
  1788. description: 现货额度
  1789. type: number
  1790. spotsellamount:
  1791. description: 现货销售金额
  1792. type: number
  1793. spotsellqty:
  1794. description: 现货销售数量
  1795. type: number
  1796. spotusedquota:
  1797. description: 现货占用资金
  1798. type: number
  1799. strategystatus:
  1800. description: 策略状态 - 0:未结束 1:已结束
  1801. type: integer
  1802. totalpl:
  1803. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1804. type: number
  1805. tradedate:
  1806. description: 交易日(yyyyMMdd)
  1807. type: string
  1808. updatetime:
  1809. description: 更新时间
  1810. type: string
  1811. usedquota:
  1812. description: 已占用资金
  1813. type: number
  1814. userid:
  1815. description: 所属机构
  1816. type: integer
  1817. required:
  1818. - asapplyid
  1819. type: object
  1820. erms2.QueryInnerTradeDetailRsp:
  1821. properties:
  1822. accountid:
  1823. description: 账号ID
  1824. type: integer
  1825. agreeunit:
  1826. description: 合约单位
  1827. type: number
  1828. asapplyid:
  1829. description: 策略申请ID
  1830. type: integer
  1831. asname:
  1832. description: 策略名称
  1833. type: string
  1834. asno:
  1835. description: 策略编号
  1836. type: string
  1837. buyorsell:
  1838. description: 方向 - 0:买 1:卖
  1839. type: integer
  1840. channelbuildtype:
  1841. description: 委托单据类型 0:无 1:建仓 2:平仓
  1842. type: integer
  1843. closetype:
  1844. description: 平仓方式 - 0:无 1:平今 2:平昨
  1845. type: integer
  1846. decimalplace:
  1847. description: 报价小数位
  1848. type: integer
  1849. detailtype:
  1850. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1851. type: integer
  1852. exexchangecode:
  1853. description: 外部交易所代码
  1854. type: string
  1855. exexchangename:
  1856. description: 外部交易所名称
  1857. type: string
  1858. goodscode:
  1859. description: 商品代码(合约)
  1860. type: string
  1861. goodsgroupid:
  1862. description: 商品组ID(品种ID)
  1863. type: integer
  1864. goodsgroupname:
  1865. description: 商品组名称(品种)
  1866. type: string
  1867. goodsid:
  1868. description: 商品ID
  1869. type: integer
  1870. goodsname:
  1871. description: 商品名称(合约)
  1872. type: string
  1873. goodunit:
  1874. description: 报价单位
  1875. type: string
  1876. marketid:
  1877. description: 市场ID
  1878. type: integer
  1879. orderid:
  1880. description: 委托单号
  1881. type: string
  1882. outgoodscode:
  1883. description: 商品代码(外部)
  1884. type: string
  1885. relatedouttradeid:
  1886. description: 关联外部成交单ID
  1887. type: string
  1888. remark:
  1889. description: 备注
  1890. type: string
  1891. spotcontractid:
  1892. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1893. type: integer
  1894. spotcontractno:
  1895. description: 现货合同编号
  1896. type: string
  1897. tradeid:
  1898. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1899. type: string
  1900. tradeprice:
  1901. description: 成交价格
  1902. type: number
  1903. tradeqty:
  1904. description: 成交数量
  1905. type: integer
  1906. tradetime:
  1907. description: 成交时间
  1908. type: string
  1909. updatetime:
  1910. description: 更新时间
  1911. type: string
  1912. required:
  1913. - asapplyid
  1914. - buyorsell
  1915. - goodscode
  1916. - goodsgroupid
  1917. - goodsgroupname
  1918. - goodsname
  1919. - tradeid
  1920. type: object
  1921. erms2.QuerySpotContractRsp:
  1922. properties:
  1923. accountid:
  1924. description: 资金账户ID
  1925. type: integer
  1926. areauserid:
  1927. description: 所属机构
  1928. type: integer
  1929. closedate:
  1930. description: 终止日期
  1931. type: string
  1932. closeremark:
  1933. description: 结束备注
  1934. type: string
  1935. closetradedate:
  1936. description: 完结交易日(yyyyMMdd)
  1937. type: string
  1938. closetype:
  1939. description: 终止类型 - 1:违约 2:提前终止
  1940. type: integer
  1941. contractamount:
  1942. description: 合同金额
  1943. type: number
  1944. contractattachment:
  1945. description: 合同附件
  1946. type: string
  1947. contractno:
  1948. description: 现货合同编号
  1949. type: string
  1950. contractqty:
  1951. description: 合同数量(数值) (用于计算)
  1952. type: number
  1953. contractqtychar:
  1954. description: 合同数量\已订价数量 (用于显示)
  1955. type: string
  1956. contractstatus:
  1957. description: 合同状态 - 0:未结束 1:已结束
  1958. type: integer
  1959. contracttype:
  1960. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1961. type: integer
  1962. customeraccountid:
  1963. description: 客户资金账户ID
  1964. type: integer
  1965. customeruserid:
  1966. description: 客户ID
  1967. type: integer
  1968. deliverygoodsdesc:
  1969. description: 品种说明
  1970. type: string
  1971. deliverygoodsid:
  1972. description: 现货品种ID
  1973. type: integer
  1974. handlestatus:
  1975. description: 处理状态
  1976. type: integer
  1977. invoiceatt:
  1978. description: 发票附件
  1979. type: string
  1980. invoicedatetime:
  1981. description: 开收票更新时间
  1982. type: string
  1983. invoiceopentime:
  1984. description: 开票时间
  1985. type: string
  1986. invoiceremark:
  1987. description: 发票备注
  1988. type: string
  1989. invoicestatus:
  1990. description: 开收票状态 - 0:未开票 1:已开票
  1991. type: integer
  1992. lastdate:
  1993. description: 交货时间
  1994. type: string
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. paydatetime:
  1999. description: 收付款更新时间
  2000. type: string
  2001. payremark:
  2002. description: 收付款备注
  2003. type: string
  2004. paystatus:
  2005. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2006. type: integer
  2007. positionqty:
  2008. description: 头寸数量 - 合同数量去小数部分
  2009. type: integer
  2010. producttype:
  2011. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2012. type: integer
  2013. relatedqty:
  2014. description: 已关联数量
  2015. type: number
  2016. relatedstatus:
  2017. description: 关联完结状态 - 0:未结束 1:已结束
  2018. type: integer
  2019. remark:
  2020. description: 备注
  2021. type: string
  2022. signdate:
  2023. description: 签订日期
  2024. type: string
  2025. spotcontractid:
  2026. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2027. type: string
  2028. spotdatetime:
  2029. description: 收发货更新时间
  2030. type: string
  2031. spotprice:
  2032. description: 价格
  2033. type: number
  2034. spotremark:
  2035. description: 收发货备注
  2036. type: string
  2037. spotstatus:
  2038. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2039. type: integer
  2040. tradedate:
  2041. description: 交易日(yyyyMMdd)
  2042. type: string
  2043. userid:
  2044. description: 业务员用户ID
  2045. type: integer
  2046. warehouseid:
  2047. description: 仓库ID
  2048. type: integer
  2049. wrfactortypeid:
  2050. description: 仓单要素类型ID
  2051. type: integer
  2052. wrstandardid:
  2053. description: 仓单标准ID(SEQ_WRSTANDARD)
  2054. type: integer
  2055. required:
  2056. - spotcontractid
  2057. type: object
  2058. erms3.AddErms2ASApplyReq:
  2059. properties:
  2060. applybasis:
  2061. description: 申请基差
  2062. type: number
  2063. applystatus:
  2064. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2065. type: integer
  2066. asapplyid:
  2067. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2068. type: integer
  2069. asname:
  2070. description: 策略名称
  2071. type: string
  2072. asno:
  2073. description: 策略编号
  2074. type: string
  2075. auditid:
  2076. description: 审核人
  2077. type: integer
  2078. auditremark:
  2079. description: 审核备注
  2080. type: string
  2081. audittime:
  2082. description: 审核时间
  2083. type: string
  2084. biztype:
  2085. description: 业务类型 - 1:正向套利 2:反向套利
  2086. type: integer
  2087. createtime:
  2088. description: 创建时间
  2089. type: string
  2090. creatorid:
  2091. description: 创建人
  2092. type: integer
  2093. deliverygoodsid:
  2094. description: 现货品种ID
  2095. type: integer
  2096. futurequote:
  2097. description: 期货额度
  2098. type: number
  2099. goodsgroupid:
  2100. description: 期货品种ID
  2101. type: integer
  2102. marketid:
  2103. description: 市场ID
  2104. type: integer
  2105. remark:
  2106. description: 备注
  2107. type: string
  2108. spotquota:
  2109. description: 现货额度
  2110. type: number
  2111. tradedate:
  2112. description: 交易日(yyyyMMdd)
  2113. type: string
  2114. userid:
  2115. description: 所属机构
  2116. type: integer
  2117. required:
  2118. - asapplyid
  2119. type: object
  2120. erms3.AddErms2SpotTradeApplyReq:
  2121. properties:
  2122. applyjsondetail:
  2123. description: 申请明细(JSON)
  2124. type: string
  2125. applystatus:
  2126. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2127. type: integer
  2128. areauserid:
  2129. description: 所属机构
  2130. type: integer
  2131. auditid:
  2132. description: 审核人
  2133. type: integer
  2134. auditremark:
  2135. description: 审核备注
  2136. type: string
  2137. audittime:
  2138. description: 审核时间
  2139. type: string
  2140. createtime:
  2141. description: 创建时间
  2142. type: string
  2143. creatorid:
  2144. description: 创建人
  2145. type: integer
  2146. deliverygoodsid:
  2147. description: 现货品种ID
  2148. type: integer
  2149. futureaccountid:
  2150. description: 期货资金账户
  2151. type: integer
  2152. goodsgroupid:
  2153. description: 期货品种
  2154. type: integer
  2155. marketid:
  2156. description: 市场ID
  2157. type: integer
  2158. remark:
  2159. description: 备注
  2160. type: string
  2161. spotaccountid:
  2162. description: 现货资金账户
  2163. type: integer
  2164. spottradeid:
  2165. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2166. type: integer
  2167. spottradename:
  2168. description: 业务名称
  2169. type: string
  2170. spottradeno:
  2171. description: 业务编号
  2172. type: string
  2173. tradedate:
  2174. description: 交易日(yyyyMMdd)
  2175. type: string
  2176. wrstandardid:
  2177. description: 仓单标准ID
  2178. type: integer
  2179. required:
  2180. - spottradeid
  2181. type: object
  2182. erms3.AddSpotContractApplyReq:
  2183. properties:
  2184. accountid:
  2185. description: 资金账户ID
  2186. type: integer
  2187. areauserid:
  2188. description: 所属机构
  2189. type: integer
  2190. contractattachment:
  2191. description: 合同附件
  2192. type: string
  2193. contractno:
  2194. description: 现货合同编号
  2195. type: string
  2196. contracttype:
  2197. description: 现货合同类型 - 1:采购 -1:销售
  2198. type: integer
  2199. creatorid:
  2200. description: 申请人
  2201. type: integer
  2202. customeraccountid:
  2203. description: 客户资金账户ID
  2204. type: integer
  2205. customeruserid:
  2206. description: 客户ID
  2207. type: integer
  2208. details:
  2209. description: 明细
  2210. items:
  2211. $ref: '#/definitions/erms3.SoptContractDetail'
  2212. type: array
  2213. orimargin:
  2214. description: 初始保证金
  2215. type: number
  2216. remark:
  2217. description: 备注
  2218. type: string
  2219. signdate:
  2220. description: 签订日期
  2221. type: string
  2222. required:
  2223. - accountid
  2224. - areauserid
  2225. - contractno
  2226. - contracttype
  2227. - customeraccountid
  2228. - customeruserid
  2229. - details
  2230. - orimargin
  2231. - signdate
  2232. type: object
  2233. erms3.AddSpotContractApplyRsp:
  2234. properties:
  2235. contractno:
  2236. description: 现货合同编号
  2237. type: string
  2238. spotcontractid:
  2239. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2240. type: integer
  2241. required:
  2242. - contractno
  2243. type: object
  2244. erms3.AddUserInfoApplyReq:
  2245. properties:
  2246. accountid:
  2247. description: 交易系统帐号Id (加密存储)
  2248. type: integer
  2249. areacode:
  2250. description: 机构代码
  2251. type: string
  2252. areaid:
  2253. description: 机构Id
  2254. type: integer
  2255. attachment1:
  2256. description: 附件1
  2257. type: string
  2258. attachment2:
  2259. description: 附件2
  2260. type: string
  2261. attachment3:
  2262. description: 附件3
  2263. type: string
  2264. attachment4:
  2265. description: 附件4
  2266. type: string
  2267. attachment5:
  2268. description: 附件5
  2269. type: string
  2270. auditedby:
  2271. description: 审核人
  2272. type: string
  2273. auditime:
  2274. description: 审核时间
  2275. type: string
  2276. bankaccount:
  2277. description: 银行帐号 (加密存储)
  2278. type: string
  2279. bankaccountname:
  2280. description: 收款人名称
  2281. type: string
  2282. bankcardbackphotourl:
  2283. description: 银行卡背面照地址
  2284. type: string
  2285. bankcardfrontphotourl:
  2286. description: 银行卡正面照地址
  2287. type: string
  2288. bankid:
  2289. description: 银行编码
  2290. type: string
  2291. bankname:
  2292. description: 银行名称
  2293. type: string
  2294. bankpictureurl:
  2295. description: 银行卡正面地址
  2296. type: string
  2297. biznature:
  2298. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2299. type: integer
  2300. bizscope:
  2301. description: 企业经营范围(企业)
  2302. type: string
  2303. biztype:
  2304. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2305. type: integer
  2306. brokerid:
  2307. description: 经纪人ID(加密存储)
  2308. type: string
  2309. cardaddress:
  2310. description: 证件地址 (加密存储)
  2311. type: string
  2312. cardbackphotourl:
  2313. description: 背面证件照地址
  2314. type: string
  2315. cardfrontphotourl:
  2316. description: 正面证件照地址
  2317. type: string
  2318. cardnum:
  2319. description: 证件号码 (加密存储)
  2320. type: string
  2321. cardtype:
  2322. description: 证件类型
  2323. type: integer
  2324. cityid:
  2325. description: 市
  2326. type: integer
  2327. company:
  2328. description: 公司(个人)
  2329. type: string
  2330. contactcardbackphotourl:
  2331. description: 联系人证件背面图片地址
  2332. type: string
  2333. contactcardfrontphotourl:
  2334. description: 联系人证件正面图片地址
  2335. type: string
  2336. contactname:
  2337. description: 联系人
  2338. type: string
  2339. countryid:
  2340. description: 国家
  2341. type: integer
  2342. createtime:
  2343. description: 开户申请时间
  2344. type: string
  2345. cusbankid:
  2346. description: 签约类型
  2347. type: string
  2348. cusbankname:
  2349. description: 签约类型名称
  2350. type: string
  2351. customername:
  2352. description: 客户名称(企业名称)
  2353. type: string
  2354. districtid:
  2355. description: 地区
  2356. type: integer
  2357. email:
  2358. description: Email地址(加密存储)
  2359. type: string
  2360. halfbodyphotourl:
  2361. description: 半身照地址
  2362. type: string
  2363. headurl:
  2364. description: 头像地址
  2365. type: string
  2366. ipaddress:
  2367. description: IP地址
  2368. type: string
  2369. isvalidate:
  2370. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2371. type: string
  2372. legalcardbackphotourl:
  2373. description: 法人身份证背面照地址
  2374. type: string
  2375. legalcardfrontphotourl:
  2376. description: 法人身份证正面照地址
  2377. type: string
  2378. legalpersonname:
  2379. description: 法人姓名(企业)
  2380. type: string
  2381. logincode:
  2382. description: 登录帐号 (加密存储)
  2383. type: string
  2384. memberareaid:
  2385. description: 所属会员ID
  2386. type: integer
  2387. mobile2:
  2388. description: 手机号码[明文-尚志]
  2389. type: string
  2390. mobilephone:
  2391. description: 手机号码 (加密存储)
  2392. type: string
  2393. modifiedby:
  2394. description: 修改人帐号
  2395. type: integer
  2396. modifiedtime:
  2397. description: 修改时间
  2398. type: string
  2399. nickname:
  2400. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2401. type: string
  2402. openmode:
  2403. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2404. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2405. type: integer
  2406. otherurl:
  2407. description: 其它图片地址[使用分号分隔]
  2408. type: string
  2409. postalcode:
  2410. description: 邮政编码
  2411. type: string
  2412. provinceid:
  2413. description: 省
  2414. type: integer
  2415. proxystatementurl:
  2416. description: 授权委托书
  2417. type: string
  2418. qq:
  2419. description: QQ(加密存储
  2420. type: string
  2421. referral:
  2422. description: 推荐人编码
  2423. type: string
  2424. remark:
  2425. description: 备注
  2426. type: string
  2427. removebeforestatus:
  2428. description: REMOVEBEFORESTATUS
  2429. type: integer
  2430. sex:
  2431. description: 性别 - 0:女 1:男
  2432. type: integer
  2433. signedstatus:
  2434. description: 账户一号签签约状态
  2435. type: integer
  2436. signpdfurl:
  2437. description: 签约pdf文件
  2438. type: string
  2439. subbranch:
  2440. description: 开户支行
  2441. type: string
  2442. telphone:
  2443. description: 联系电话(加密存储)
  2444. type: string
  2445. userid:
  2446. description: 用户ID(自增ID)
  2447. type: integer
  2448. userinfotype:
  2449. description: 用户信息类型 - 1:个人 2:企业
  2450. type: integer
  2451. username:
  2452. description: 用户姓名
  2453. type: string
  2454. userstate:
  2455. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2456. type: integer
  2457. usertype:
  2458. description: 用户类型 - 1:投资者 2:机构
  2459. type: integer
  2460. videourl:
  2461. description: 视频地址
  2462. type: string
  2463. wechat:
  2464. description: 微信号 (加密存储)
  2465. type: string
  2466. required:
  2467. - userid
  2468. type: object
  2469. erms3.CustomerInfo:
  2470. properties:
  2471. accountids:
  2472. description: 资金账户ID列表
  2473. items:
  2474. type: integer
  2475. type: array
  2476. customername:
  2477. description: 名称(企业名称)
  2478. type: string
  2479. mobile:
  2480. description: 手机号码
  2481. type: string
  2482. userid:
  2483. description: 用户ID
  2484. type: integer
  2485. required:
  2486. - userid
  2487. type: object
  2488. erms3.QryAuditContractRsp:
  2489. properties:
  2490. accountid:
  2491. description: 交易员ID
  2492. type: string
  2493. applystatus:
  2494. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2495. type: integer
  2496. curdeliveryqty:
  2497. description: 未交收量
  2498. type: integer
  2499. customername:
  2500. description: 采购方ID
  2501. type: string
  2502. deliverygoodsid:
  2503. description: 品种ID
  2504. type: string
  2505. deliveryqty:
  2506. description: 交收量
  2507. type: integer
  2508. enumdicname:
  2509. description: 单位名称
  2510. type: string
  2511. matchaccountid:
  2512. description: 业务员ID
  2513. type: string
  2514. matchcustomername:
  2515. description: 销售方ID
  2516. type: string
  2517. pricedqty:
  2518. description: 定价量
  2519. type: number
  2520. signdate:
  2521. description: 签订日期
  2522. type: string
  2523. spotcontractid:
  2524. description: 合同ID
  2525. type: string
  2526. totaldqty:
  2527. description: 合同量
  2528. type: number
  2529. unpricedqty:
  2530. description: 未定价量
  2531. type: number
  2532. wrstandardname:
  2533. description: 商品名称
  2534. type: string
  2535. required:
  2536. - matchcustomername
  2537. - spotcontractid
  2538. type: object
  2539. erms3.QryPendingBizRsp:
  2540. properties:
  2541. accountid:
  2542. description: 现货账户
  2543. type: string
  2544. areaname:
  2545. description: 所属部门
  2546. type: string
  2547. bizid:
  2548. description: 业务ID
  2549. type: string
  2550. bizname:
  2551. description: 业务名称
  2552. type: string
  2553. status:
  2554. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2555. type: integer
  2556. type:
  2557. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  2558. type: integer
  2559. type: object
  2560. erms3.QueryBusinessInfoRsp:
  2561. properties:
  2562. businessid:
  2563. description: 业务ID.
  2564. type: integer
  2565. buyamount:
  2566. description: 采购额.
  2567. type: number
  2568. buyqty:
  2569. description: 采购量.
  2570. type: string
  2571. futurepl:
  2572. description: 期货盈亏.
  2573. type: number
  2574. futureqty:
  2575. description: 期货敞口.
  2576. type: string
  2577. goodsid:
  2578. description: 商品名称/商品代码.
  2579. type: string
  2580. hedgingqty:
  2581. description: 套保量.
  2582. type: string
  2583. sellamount:
  2584. description: 销售额.
  2585. type: number
  2586. sellqty:
  2587. description: 销售量.
  2588. type: string
  2589. spotmarketvalue:
  2590. description: 现货市值.
  2591. type: number
  2592. spotpl:
  2593. description: 浮动权益.
  2594. type: number
  2595. spotqty:
  2596. description: 现货量.
  2597. type: string
  2598. statu:
  2599. description: 状态,0-未结束 1-已结束.
  2600. type: integer
  2601. totalpl:
  2602. description: 总盈亏.
  2603. type: number
  2604. totalqty:
  2605. description: 总敞口.
  2606. type: string
  2607. type:
  2608. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2609. type: integer
  2610. type: object
  2611. erms3.QuerySpotContractAppleFormRsp:
  2612. properties:
  2613. goodses:
  2614. description: 合约列表
  2615. items:
  2616. $ref: '#/definitions/models.GoodsIDAndName'
  2617. type: array
  2618. oppositeusers:
  2619. description: 对方账号列表
  2620. items:
  2621. $ref: '#/definitions/erms3.CustomerInfo'
  2622. type: array
  2623. ouruser:
  2624. $ref: '#/definitions/erms3.CustomerInfo'
  2625. description: 我方账号
  2626. warehouseinfos:
  2627. description: 仓库信息列表
  2628. items:
  2629. $ref: '#/definitions/models.Warehouseinfo'
  2630. type: array
  2631. wrstandards:
  2632. description: 仓单标准列表
  2633. items:
  2634. $ref: '#/definitions/models.WRStandardInfo'
  2635. type: array
  2636. type: object
  2637. erms3.QuerySpotContractInfoRsp:
  2638. properties:
  2639. accountid:
  2640. description: 表示交易员ID.
  2641. type: integer
  2642. curdeliveryqty:
  2643. description: 表示未交收量.
  2644. type: number
  2645. customername:
  2646. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2647. type: string
  2648. deliverygoodsid:
  2649. description: 表示品种ID.
  2650. type: string
  2651. deliveryqty:
  2652. description: 表示交收量.
  2653. type: number
  2654. matchaccountid:
  2655. description: 表示业务员ID.
  2656. type: integer
  2657. matchcustomername:
  2658. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2659. type: string
  2660. priceqty:
  2661. description: 表示定价量.
  2662. type: number
  2663. relatedbizid:
  2664. description: 表示业务ID.
  2665. type: string
  2666. signdate:
  2667. description: 表示签订日期.
  2668. type: string
  2669. spotcontractid:
  2670. description: 合同ID
  2671. type: string
  2672. status:
  2673. description: 表示状态,0-履约中 1-已完成.
  2674. type: integer
  2675. totalqty:
  2676. description: 表示合同量.
  2677. type: number
  2678. unpricedqty:
  2679. description: 表示未定价量.
  2680. type: number
  2681. wrstandardname:
  2682. description: 表示商品ID.
  2683. type: string
  2684. type: object
  2685. erms3.QueryUserInfoAppliesRsp:
  2686. properties:
  2687. biznature:
  2688. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2689. type: integer
  2690. contactname:
  2691. description: 联系人
  2692. type: string
  2693. createtime:
  2694. description: 开户申请时间
  2695. type: string
  2696. userid:
  2697. description: 用户ID(自增ID)
  2698. type: integer
  2699. userinfotype:
  2700. description: 用户信息类型 - 1:个人 2:企业
  2701. type: integer
  2702. username:
  2703. description: 用户姓名
  2704. type: string
  2705. userstate:
  2706. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2707. type: integer
  2708. required:
  2709. - userid
  2710. type: object
  2711. erms3.QueryUserInfosRsp:
  2712. properties:
  2713. biznature:
  2714. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2715. type: integer
  2716. contactname:
  2717. description: 联系人
  2718. type: string
  2719. customername:
  2720. description: 客户名称(企业名称)
  2721. type: string
  2722. userid:
  2723. description: 用户ID
  2724. type: integer
  2725. userinfotype:
  2726. description: 用户信息类型 - 1:个人 2:企业
  2727. type: integer
  2728. userstatus:
  2729. description: 用户状态 - 1:正常 2:注销
  2730. type: integer
  2731. required:
  2732. - userid
  2733. type: object
  2734. erms3.SoptContractDetail:
  2735. properties:
  2736. deliverygoodsdesc:
  2737. description: 现货品种说明
  2738. type: string
  2739. deliverygoodsid:
  2740. description: 现货品种ID
  2741. type: integer
  2742. deliverygoodsname:
  2743. description: 现货品种名称
  2744. type: string
  2745. pointdesc:
  2746. description: 点价描述
  2747. type: string
  2748. producttype:
  2749. description: 产品类型 1:标准仓单 2:等标 3:非标
  2750. type: integer
  2751. producttypename:
  2752. description: 产品类型名称
  2753. type: string
  2754. spotPointOrderVoList:
  2755. description: 点价列表
  2756. items:
  2757. $ref: '#/definitions/erms3.SpotPointOrder'
  2758. type: array
  2759. spotPriceOrderList:
  2760. description: 定价列表
  2761. items:
  2762. $ref: '#/definitions/erms3.SpotPriceOrder'
  2763. type: array
  2764. unitname:
  2765. description: 单位名称
  2766. type: string
  2767. warehouseid:
  2768. description: 仓库ID
  2769. type: integer
  2770. warehousename:
  2771. description: 仓库名称
  2772. type: string
  2773. wrstandardid:
  2774. description: 交易标的ID
  2775. type: integer
  2776. wrstandardname:
  2777. description: 交易标的名称
  2778. type: string
  2779. required:
  2780. - deliverygoodsid
  2781. - producttype
  2782. - unitname
  2783. - warehouseid
  2784. - wrstandardid
  2785. - wrstandardname
  2786. type: object
  2787. erms3.SpotPointOrder:
  2788. properties:
  2789. basic:
  2790. description: 基差
  2791. type: number
  2792. deliveryenddate:
  2793. description: 交收结束日期
  2794. type: string
  2795. deliverystartdate:
  2796. description: 交收开始日期
  2797. type: string
  2798. enddate:
  2799. description: 点价结束日期
  2800. type: string
  2801. goodsid:
  2802. description: 商品ID
  2803. type: integer
  2804. goodsname:
  2805. description: 商品名称
  2806. type: string
  2807. qty:
  2808. description: 数量
  2809. type: number
  2810. startdate:
  2811. description: 点价开始日期
  2812. type: string
  2813. required:
  2814. - basic
  2815. - goodsid
  2816. - qty
  2817. type: object
  2818. erms3.SpotPriceOrder:
  2819. properties:
  2820. amount:
  2821. description: 金额
  2822. type: number
  2823. deliveryenddate:
  2824. description: 交收结束日期
  2825. type: string
  2826. deliverystartdate:
  2827. description: 交收开始日期
  2828. type: string
  2829. price:
  2830. description: 价格
  2831. type: number
  2832. qty:
  2833. description: 数量
  2834. type: number
  2835. required:
  2836. - amount
  2837. - price
  2838. - qty
  2839. type: object
  2840. hsby.GetHsbyMyCountRsp:
  2841. properties:
  2842. myCouponCount:
  2843. description: 我的优惠卷数量
  2844. type: integer
  2845. myOrderDetailListingCount:
  2846. description: 我的订单求购中数量
  2847. type: integer
  2848. myOrderDetailPreCount:
  2849. description: 我的订单抢购中数量
  2850. type: integer
  2851. myPackageUnReceiveCount:
  2852. description: 我的包裹待收货数量
  2853. type: integer
  2854. myPackageUnSendCount:
  2855. description: 我的包裹待发货数量
  2856. type: integer
  2857. myPayOrderCount:
  2858. description: 我的订单待付款数量
  2859. type: integer
  2860. type: object
  2861. hsby.QueryProvincesAndCitiesRsp:
  2862. properties:
  2863. cities:
  2864. description: 市
  2865. items:
  2866. $ref: '#/definitions/models.Division'
  2867. type: array
  2868. province:
  2869. $ref: '#/definitions/models.Division'
  2870. description: 省
  2871. type: object
  2872. models.Clientfixedadconfig:
  2873. properties:
  2874. adsort:
  2875. description: 排序
  2876. type: integer
  2877. adtype:
  2878. description: 广告位类型 - 1:新品抢购(HSBY)
  2879. type: integer
  2880. areauserid:
  2881. description: 所属机构ID
  2882. type: integer
  2883. createdate:
  2884. description: 创建时间
  2885. type: string
  2886. creatorid:
  2887. description: 创建人
  2888. type: integer
  2889. imagepath:
  2890. description: 图片
  2891. type: string
  2892. isshow:
  2893. description: 是否展示 - 0:不展示 1:展示
  2894. type: integer
  2895. modifierid:
  2896. description: 操作人
  2897. type: integer
  2898. recsize:
  2899. description: 推荐尺寸
  2900. type: string
  2901. title:
  2902. description: 标题
  2903. type: string
  2904. updatedate:
  2905. description: 更新时间
  2906. type: string
  2907. urlcontent:
  2908. description: 链接(地址或商品ID)
  2909. type: string
  2910. urltype:
  2911. description: 链接类型 - 1:直接地址 2:商品ID
  2912. type: integer
  2913. required:
  2914. - adsort
  2915. - adtype
  2916. type: object
  2917. models.Division:
  2918. properties:
  2919. autoid:
  2920. description: 自增ID
  2921. type: integer
  2922. divisioncode:
  2923. description: 行政代码
  2924. type: string
  2925. divisionlevel:
  2926. description: 行政级别
  2927. type: string
  2928. divisionname:
  2929. description: 行政名称
  2930. type: string
  2931. modifierid:
  2932. description: 修改人
  2933. type: integer
  2934. modifytime:
  2935. description: 修改时间
  2936. type: string
  2937. parentcode:
  2938. description: 上级行政代码
  2939. type: string
  2940. pathname:
  2941. description: 路径名称
  2942. type: string
  2943. postcode:
  2944. description: 邮政编码
  2945. type: string
  2946. separablename:
  2947. description: 可拆分的全称
  2948. type: string
  2949. shortcode:
  2950. description: 地区简码
  2951. type: string
  2952. required:
  2953. - autoid
  2954. - divisioncode
  2955. type: object
  2956. models.Enumdicitem:
  2957. properties:
  2958. autoid:
  2959. description: 自增ID
  2960. type: integer
  2961. bankmappedvalue:
  2962. description: 银行服务对应值
  2963. type: string
  2964. enumdiccode:
  2965. description: 所属枚举代码
  2966. type: string
  2967. enumdicid:
  2968. description: 所属枚举ID
  2969. type: integer
  2970. enumdicname:
  2971. description: 枚举项名称
  2972. type: string
  2973. enumitemname:
  2974. description: 枚举项值
  2975. type: integer
  2976. enumitemstatus:
  2977. description: 枚举项状态 - 1.启用 2.不启用
  2978. type: integer
  2979. enumitemvalue:
  2980. description: 通用值 - [币种通用简写]
  2981. type: string
  2982. param1:
  2983. description: 参数1[币种:币种小数位]
  2984. type: string
  2985. param2:
  2986. description: 参数1[币种:币种显示单位]
  2987. type: string
  2988. remark:
  2989. description: 备注
  2990. type: string
  2991. required:
  2992. - autoid
  2993. - enumdiccode
  2994. - enumdicid
  2995. - enumitemname
  2996. type: object
  2997. models.GoodsIDAndName:
  2998. properties:
  2999. goodscode:
  3000. description: 商品代码(内部)
  3001. type: string
  3002. goodsid:
  3003. description: 商品ID(自增ID SEQ_GOODS)
  3004. type: integer
  3005. goodsname:
  3006. description: 商品名称
  3007. type: string
  3008. marketid:
  3009. description: 所属市场ID
  3010. type: integer
  3011. required:
  3012. - goodscode
  3013. - goodsid
  3014. - goodsname
  3015. - marketid
  3016. type: object
  3017. models.HsbyBuyMyPayOrder:
  3018. properties:
  3019. agreeunit:
  3020. description: 合约单位
  3021. type: number
  3022. buyaccountid:
  3023. description: 买方账号ID[报价币种]
  3024. type: integer
  3025. buyorderid:
  3026. description: 买方委托单号
  3027. type: string
  3028. createtime:
  3029. description: 创建时间
  3030. type: string
  3031. currencysign:
  3032. description: 货币符号
  3033. type: string
  3034. decimalplace:
  3035. description: 报价小数位
  3036. type: integer
  3037. goodscode:
  3038. description: 商品代码(内部)
  3039. type: string
  3040. goodsid:
  3041. description: 商品ID
  3042. type: integer
  3043. goodsname:
  3044. description: 商品名称
  3045. type: string
  3046. marketid:
  3047. description: 市场ID
  3048. type: integer
  3049. offamount:
  3050. description: 优惠金额
  3051. type: number
  3052. payamount:
  3053. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3054. type: number
  3055. payflag:
  3056. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3057. type: integer
  3058. paylimitedtime:
  3059. description: 支付期限
  3060. type: string
  3061. paytime:
  3062. description: 付款时间
  3063. type: string
  3064. picurls1:
  3065. description: 预售商品介绍图片[多张用逗号分隔]
  3066. type: string
  3067. picurls2:
  3068. description: 挂牌商品介绍图片[多张用逗号分隔]
  3069. type: string
  3070. sellaccountid:
  3071. description: 卖方账号ID[报价币种]
  3072. type: integer
  3073. sellorderid:
  3074. description: 卖方委托单号
  3075. type: string
  3076. tradeamount:
  3077. description: 成交金额
  3078. type: number
  3079. tradecharge:
  3080. description: 成交手续费(买方)
  3081. type: number
  3082. tradedate:
  3083. description: 交易日(yyyyMMdd)
  3084. type: string
  3085. tradeid:
  3086. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3087. type: string
  3088. trademode:
  3089. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3090. 21:竞拍-大宗式 22:受托竞价
  3091. type: integer
  3092. tradeprice:
  3093. description: 成交价格
  3094. type: number
  3095. tradeqty:
  3096. description: 成交数量
  3097. type: integer
  3098. vendorname1:
  3099. description: 预售商品供应商名称
  3100. type: string
  3101. vendorname2:
  3102. description: 挂牌商品供应商名称
  3103. type: string
  3104. required:
  3105. - goodscode
  3106. - goodsname
  3107. - tradeid
  3108. - trademode
  3109. type: object
  3110. models.HsbyBuyMyTradeDetail:
  3111. properties:
  3112. accountid:
  3113. description: 账户ID[报价币种]
  3114. type: integer
  3115. agreeunit:
  3116. description: 合约单位
  3117. type: number
  3118. amount:
  3119. description: 金额 = 价格 * 数量 * 合约单位
  3120. type: number
  3121. buyorsell:
  3122. description: 买卖 - 0:买 1:卖
  3123. type: integer
  3124. currencysign:
  3125. description: 货币符号
  3126. type: string
  3127. decimalplace:
  3128. description: 报价小数位
  3129. type: integer
  3130. goodscode:
  3131. description: 商品代码(内部)
  3132. type: string
  3133. goodsid:
  3134. description: 商品ID
  3135. type: integer
  3136. goodsname:
  3137. description: 商品名称
  3138. type: string
  3139. marketid:
  3140. description: 市场ID
  3141. type: integer
  3142. orderid:
  3143. description: 单号(成交单号)
  3144. type: string
  3145. picurls1:
  3146. description: 预售商品介绍图片[多张用逗号分隔]
  3147. type: string
  3148. picurls2:
  3149. description: 挂牌商品介绍图片[多张用逗号分隔]
  3150. type: string
  3151. price:
  3152. description: 价格
  3153. type: number
  3154. qty:
  3155. description: 数量
  3156. type: integer
  3157. time:
  3158. description: 时间
  3159. type: string
  3160. trademode:
  3161. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3162. 21:竞拍-大宗式 22:受托竞价
  3163. type: integer
  3164. vendorname1:
  3165. description: 预售商品供应商名称
  3166. type: string
  3167. vendorname2:
  3168. description: 挂牌商品供应商名称
  3169. type: string
  3170. required:
  3171. - accountid
  3172. - buyorsell
  3173. - goodscode
  3174. - goodsid
  3175. - goodsname
  3176. - marketid
  3177. - orderid
  3178. - qty
  3179. - time
  3180. - trademode
  3181. type: object
  3182. models.HsbyGoodsOrderDetail:
  3183. properties:
  3184. buyorsell:
  3185. description: 买卖 - 0:买 1:卖
  3186. type: integer
  3187. currencysign:
  3188. description: 货币符号
  3189. type: string
  3190. customername:
  3191. description: 客户名称(企业名称),已脱敏
  3192. type: string
  3193. enableqty:
  3194. description: 可用数量
  3195. type: integer
  3196. goodunit:
  3197. description: 报价单位
  3198. type: string
  3199. orderid:
  3200. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3201. type: string
  3202. orderprice:
  3203. description: 委托价格
  3204. type: number
  3205. ordertime:
  3206. description: 委托时间
  3207. type: string
  3208. required:
  3209. - buyorsell
  3210. - orderid
  3211. - ordertime
  3212. type: object
  3213. models.HsbyListingGoodsDetail:
  3214. properties:
  3215. agreeunit:
  3216. description: 合约单位
  3217. type: number
  3218. buymaxqty:
  3219. description: 购买上限 [71] - 0为不限
  3220. type: integer
  3221. currency:
  3222. description: 货币
  3223. type: string
  3224. currencysign:
  3225. description: 货币符号
  3226. type: string
  3227. decimalplace:
  3228. description: 报价小数位
  3229. type: integer
  3230. desccityid:
  3231. description: 目的地(市)ID
  3232. type: integer
  3233. descprovinceid:
  3234. description: 目的地(省)ID
  3235. type: integer
  3236. goodscode:
  3237. description: 商品代码(内部)
  3238. type: string
  3239. goodsdesc:
  3240. description: 商品详情
  3241. type: string
  3242. goodsid:
  3243. description: 商品ID(自增ID SEQ_GOODS)
  3244. type: integer
  3245. goodsname:
  3246. description: 商品名称
  3247. type: string
  3248. goodsprice:
  3249. description: 商品价格
  3250. type: number
  3251. hotindex:
  3252. description: 景点热度
  3253. type: integer
  3254. last:
  3255. description: 现价
  3256. type: number
  3257. limitdown:
  3258. description: 跌停价
  3259. type: number
  3260. limitup:
  3261. description: 涨停价
  3262. type: number
  3263. lotsize:
  3264. description: 手数最小变动单位
  3265. type: integer
  3266. marketid:
  3267. description: 所属市场ID
  3268. type: integer
  3269. picurls:
  3270. description: 介绍图片[多张用逗号分隔]
  3271. type: string
  3272. quoteminunit:
  3273. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3274. type: integer
  3275. stepvalue:
  3276. description: 价格最小变动单位
  3277. type: number
  3278. trademode:
  3279. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3280. 21:竞拍-大宗式 22:受托竞价
  3281. type: integer
  3282. vendorattr:
  3283. description: 供应商附件(多张,逗号分隔)
  3284. type: string
  3285. vendorname:
  3286. description: 供应商名称
  3287. type: string
  3288. vendorphone:
  3289. description: 供应商客服电话
  3290. type: string
  3291. videourls:
  3292. description: 介绍视频[多张用逗号分隔]
  3293. type: string
  3294. required:
  3295. - goodscode
  3296. - goodsid
  3297. - goodsname
  3298. - marketid
  3299. - trademode
  3300. type: object
  3301. models.HsbyMarketGoods:
  3302. properties:
  3303. accountid:
  3304. description: 账户ID[报价币种]
  3305. type: integer
  3306. agreeunit:
  3307. description: 合约单位
  3308. type: number
  3309. buyorsell:
  3310. description: 买卖 - 0:买 1:卖
  3311. type: integer
  3312. categoryid:
  3313. description: 类别ID(WRCATEGORY)
  3314. type: integer
  3315. currency:
  3316. description: 货币
  3317. type: string
  3318. currencysign:
  3319. description: 货币符号
  3320. type: string
  3321. customername:
  3322. description: 卖家名称
  3323. type: string
  3324. decimalplace:
  3325. description: 报价小数位
  3326. type: integer
  3327. goodscode:
  3328. description: 商品代码(内部)
  3329. type: string
  3330. goodsid:
  3331. description: 商品ID
  3332. type: integer
  3333. goodsname:
  3334. description: 商品名称
  3335. type: string
  3336. goodsprice:
  3337. description: 商品价格
  3338. type: number
  3339. hascoupon:
  3340. description: 是否可用优惠卷
  3341. type: boolean
  3342. hotindex:
  3343. description: 景点热度
  3344. type: integer
  3345. marketid:
  3346. description: 市场ID
  3347. type: integer
  3348. orderid:
  3349. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3350. type: string
  3351. orderprice:
  3352. description: 委托价格
  3353. type: number
  3354. orderstatus:
  3355. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3356. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3357. 16:成交失败违约(荷兰式竞拍专用)
  3358. type: integer
  3359. picurls:
  3360. description: 介绍图片[多张用逗号分隔]
  3361. type: string
  3362. quoteminunit:
  3363. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3364. type: integer
  3365. sellUserID:
  3366. description: 卖方UserID
  3367. type: integer
  3368. trademode:
  3369. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3370. 21:竞拍-大宗式 22:受托竞价
  3371. type: integer
  3372. videourls:
  3373. description: 介绍视频[多张用逗号分隔]
  3374. type: string
  3375. required:
  3376. - accountid
  3377. - buyorsell
  3378. - goodscode
  3379. - goodsid
  3380. - goodsname
  3381. - marketid
  3382. - orderid
  3383. - trademode
  3384. type: object
  3385. models.HsbyMarketGoodsDetail:
  3386. properties:
  3387. accountid:
  3388. description: 账户ID[报价币种]
  3389. type: integer
  3390. agreeunit:
  3391. description: 合约单位
  3392. type: number
  3393. buymaxqty:
  3394. description: 购买上限 [71] - 0为不限
  3395. type: integer
  3396. buyorsell:
  3397. description: 买卖 - 0:买 1:卖
  3398. type: integer
  3399. cancelqty:
  3400. description: 撤单数量
  3401. type: integer
  3402. categoryid:
  3403. description: 类别ID(WRCATEGORY)
  3404. type: integer
  3405. currency:
  3406. description: 货币
  3407. type: string
  3408. currencysign:
  3409. description: 货币符号
  3410. type: string
  3411. customername:
  3412. description: 卖家名称
  3413. type: string
  3414. decimalplace:
  3415. description: 报价小数位
  3416. type: integer
  3417. goodscode:
  3418. description: 商品代码(内部)
  3419. type: string
  3420. goodsdesc:
  3421. description: 商品详情
  3422. type: string
  3423. goodsid:
  3424. description: 商品ID
  3425. type: integer
  3426. goodsname:
  3427. description: 商品名称
  3428. type: string
  3429. goodsprice:
  3430. description: 商品价格
  3431. type: number
  3432. hotindex:
  3433. description: 景点热度
  3434. type: integer
  3435. lotsize:
  3436. description: 手数最小变动单位
  3437. type: integer
  3438. marketid:
  3439. description: 市场ID
  3440. type: integer
  3441. orderid:
  3442. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3443. type: string
  3444. orderprice:
  3445. description: 委托价格
  3446. type: number
  3447. orderqty:
  3448. description: 委托数量
  3449. type: integer
  3450. orderstatus:
  3451. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3452. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3453. 16:成交失败违约(荷兰式竞拍专用)
  3454. type: integer
  3455. picurls:
  3456. description: 介绍图片[多张用逗号分隔]
  3457. type: string
  3458. quoteminunit:
  3459. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3460. type: integer
  3461. sellUserID:
  3462. description: 卖方UserID
  3463. type: integer
  3464. trademode:
  3465. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3466. 21:竞拍-大宗式 22:受托竞价
  3467. type: integer
  3468. tradeqty:
  3469. description: 成交数量
  3470. type: integer
  3471. vendorattr:
  3472. description: 供应商附件(多张,逗号分隔)
  3473. type: string
  3474. vendorname:
  3475. description: 供应商名称
  3476. type: string
  3477. vendorphone:
  3478. description: 供应商客服电话
  3479. type: string
  3480. videourls:
  3481. description: 介绍视频[多张用逗号分隔]
  3482. type: string
  3483. required:
  3484. - accountid
  3485. - buyorsell
  3486. - goodscode
  3487. - goodsid
  3488. - goodsname
  3489. - marketid
  3490. - orderid
  3491. - orderqty
  3492. - trademode
  3493. type: object
  3494. models.HsbyMarketInfo:
  3495. properties:
  3496. marketid:
  3497. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  3498. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  3499. type: integer
  3500. marketname:
  3501. description: 市场名称
  3502. type: string
  3503. marketstatus:
  3504. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  3505. type: integer
  3506. trademode:
  3507. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3508. 21:竞拍-大宗式 22:受托竞价
  3509. type: integer
  3510. required:
  3511. - marketid
  3512. - marketstatus
  3513. - trademode
  3514. type: object
  3515. models.HsbyMyGoods:
  3516. properties:
  3517. accountid:
  3518. description: 账号Id
  3519. type: integer
  3520. agreeunit:
  3521. description: 合约单位
  3522. type: number
  3523. buyaverageprice:
  3524. description: 持仓均价
  3525. type: number
  3526. buycurholderamount:
  3527. description: 买当前持仓总金额[商品币种]
  3528. type: number
  3529. buycurpositionqty:
  3530. description: 买当前持仓总数量
  3531. type: integer
  3532. buymaxqty:
  3533. description: 购买上限 [71] - 0为不限
  3534. type: integer
  3535. currencysign:
  3536. description: 货币符号
  3537. type: string
  3538. decimalplace:
  3539. description: 报价小数位
  3540. type: integer
  3541. enableqty:
  3542. description: 可用数量
  3543. type: integer
  3544. goodscode:
  3545. description: 商品代码(内部)
  3546. type: string
  3547. goodsid:
  3548. description: 商品Id
  3549. type: integer
  3550. goodsname:
  3551. description: 商品名称
  3552. type: string
  3553. goodsprice:
  3554. description: 商品价格
  3555. type: number
  3556. goodsstatus:
  3557. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  3558. type: integer
  3559. last:
  3560. description: 现价(仅使用于挂牌点选)
  3561. type: number
  3562. limitdown:
  3563. description: 跌停价(仅使用于挂牌点选)
  3564. type: number
  3565. limitup:
  3566. description: 涨停价(仅使用于挂牌点选)
  3567. type: number
  3568. lotsize:
  3569. description: 手数最小变动单位
  3570. type: integer
  3571. marketid:
  3572. description: 所属市场ID
  3573. type: integer
  3574. picurls:
  3575. description: 介绍图片[多张用逗号分隔]
  3576. type: string
  3577. quoteminunit:
  3578. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3579. type: integer
  3580. stepvalue:
  3581. description: 价格最小变动单位
  3582. type: number
  3583. trademode:
  3584. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3585. 21:竞拍-大宗式 22:受托竞价
  3586. type: integer
  3587. required:
  3588. - accountid
  3589. - goodscode
  3590. - goodsid
  3591. - goodsname
  3592. - marketid
  3593. - trademode
  3594. type: object
  3595. models.HsbyMyPackage:
  3596. properties:
  3597. accountid:
  3598. description: 账户ID
  3599. type: integer
  3600. address:
  3601. description: 提货人详细地址
  3602. type: string
  3603. agreeunit:
  3604. description: 合约单位
  3605. type: number
  3606. amount:
  3607. description: 提货金额
  3608. type: number
  3609. auditer:
  3610. description: 审核人
  3611. type: integer
  3612. audittime:
  3613. description: 审核时间
  3614. type: string
  3615. averageprice:
  3616. description: 均价
  3617. type: number
  3618. cardnum:
  3619. description: 提货人证件号码
  3620. type: string
  3621. cardtypeid:
  3622. description: 提货人证件类型
  3623. type: integer
  3624. checkremark:
  3625. description: 审核备注
  3626. type: string
  3627. currencysign:
  3628. description: 货币符号
  3629. type: string
  3630. decimalplace:
  3631. description: 报价小数位
  3632. type: integer
  3633. goodscode:
  3634. description: 商品代码(内部)
  3635. type: string
  3636. goodsid:
  3637. description: 商品ID
  3638. type: integer
  3639. goodsname:
  3640. description: 商品名称
  3641. type: string
  3642. handlestatus:
  3643. description: 处理状态
  3644. type: integer
  3645. marketid:
  3646. description: 市场ID
  3647. type: integer
  3648. phonenum:
  3649. description: 提货人联系方式
  3650. type: string
  3651. picurls:
  3652. description: 介绍图片[多张用逗号分隔]
  3653. type: string
  3654. qty:
  3655. description: 提货数量
  3656. type: number
  3657. recivername:
  3658. description: 提货人姓名
  3659. type: string
  3660. reqtime:
  3661. description: 更新时间
  3662. type: string
  3663. takemode:
  3664. description: 提货方式 - 2:自提 3:配送
  3665. type: integer
  3666. takeorderid:
  3667. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3668. type: string
  3669. takeorderstatus:
  3670. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3671. type: integer
  3672. takeremark:
  3673. description: 提货备注
  3674. type: string
  3675. tradedate:
  3676. description: 交易日(yyyyMMdd)
  3677. type: string
  3678. userid:
  3679. description: 用户ID
  3680. type: integer
  3681. vendorname:
  3682. description: 供应商名称
  3683. type: string
  3684. required:
  3685. - goodscode
  3686. - goodsname
  3687. - takeorderid
  3688. type: object
  3689. models.HsbyPreGoods:
  3690. properties:
  3691. agreeunit:
  3692. description: 合约单位
  3693. type: number
  3694. currency:
  3695. description: 货币
  3696. type: string
  3697. currencysign:
  3698. description: 货币符号
  3699. type: string
  3700. decimalplace:
  3701. description: 报价小数位
  3702. type: integer
  3703. enableqty:
  3704. description: 剩余数量
  3705. type: integer
  3706. goodscode:
  3707. description: 商品代码(内部)
  3708. type: string
  3709. goodsid:
  3710. description: 商品ID(自增ID SEQ_GOODS)
  3711. type: integer
  3712. goodsname:
  3713. description: 商品名称
  3714. type: string
  3715. goodsstatus:
  3716. description: 商品状态- 2:未上市 3:上市
  3717. type: integer
  3718. lasttradedate:
  3719. description: 最后交易日期(状态:待退市)
  3720. type: string
  3721. listingdate:
  3722. description: 交易开始日期
  3723. type: string
  3724. marketid:
  3725. description: 所属市场ID
  3726. type: integer
  3727. picurls:
  3728. description: 介绍图片[多张用逗号分隔]
  3729. type: string
  3730. presaledqty:
  3731. description: 已预售量(预售结束时更新)
  3732. type: integer
  3733. presaleqty:
  3734. description: 预售数量
  3735. type: integer
  3736. quoteminunit:
  3737. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3738. type: integer
  3739. refprice:
  3740. description: 参考价格[一口价]
  3741. type: number
  3742. relatedgoodsid:
  3743. description: 关联交易合约ID
  3744. type: integer
  3745. trademode:
  3746. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3747. 21:竞拍-大宗式 22:受托竞价
  3748. type: integer
  3749. videourls:
  3750. description: 介绍视频[多张用逗号分隔]
  3751. type: string
  3752. required:
  3753. - goodscode
  3754. - goodsid
  3755. - goodsname
  3756. - marketid
  3757. - trademode
  3758. type: object
  3759. models.HsbyPreGoodsDetail:
  3760. properties:
  3761. agreeunit:
  3762. description: 合约单位
  3763. type: number
  3764. buymaxqty:
  3765. description: 购买上限 [71] - 0为不限
  3766. type: integer
  3767. currency:
  3768. description: 货币
  3769. type: string
  3770. currencysign:
  3771. description: 货币符号
  3772. type: string
  3773. customername:
  3774. description: 发行单位
  3775. type: string
  3776. decimalplace:
  3777. description: 报价小数位
  3778. type: integer
  3779. desccityid:
  3780. description: 目的地(市)ID
  3781. type: integer
  3782. descprovinceid:
  3783. description: 目的地(省)ID
  3784. type: integer
  3785. enableqty:
  3786. description: 剩余数量
  3787. type: integer
  3788. goodscode:
  3789. description: 商品代码(内部)
  3790. type: string
  3791. goodsdesc:
  3792. description: 商品详情
  3793. type: string
  3794. goodsid:
  3795. description: 商品ID(自增ID SEQ_GOODS)
  3796. type: integer
  3797. goodsname:
  3798. description: 商品名称
  3799. type: string
  3800. goodsstatus:
  3801. description: 商品状态- 2:未上市 3:上市
  3802. type: integer
  3803. goodunit:
  3804. description: 报价单位
  3805. type: string
  3806. lasttradedate:
  3807. description: 最后交易日期(状态:待退市)
  3808. type: string
  3809. listingdate:
  3810. description: 交易开始日期
  3811. type: string
  3812. lotsize:
  3813. description: 手数最小变动单位
  3814. type: integer
  3815. marketid:
  3816. description: 所属市场ID
  3817. type: integer
  3818. picurls:
  3819. description: 介绍图片[多张用逗号分隔]
  3820. type: string
  3821. presaledqty:
  3822. description: 已预售量(预售结束时更新)
  3823. type: integer
  3824. presaleqty:
  3825. description: 预售数量
  3826. type: integer
  3827. quoteminunit:
  3828. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3829. type: integer
  3830. refprice:
  3831. description: 参考价格[一口价]
  3832. type: number
  3833. relatedgoodsid:
  3834. description: 关联交易合约ID
  3835. type: integer
  3836. stepvalue:
  3837. description: 价格最小变动单位
  3838. type: number
  3839. trademode:
  3840. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3841. 21:竞拍-大宗式 22:受托竞价
  3842. type: integer
  3843. vendorattr:
  3844. description: 供应商附件(多张,逗号分隔)
  3845. type: string
  3846. vendorname:
  3847. description: 供应商名称
  3848. type: string
  3849. vendorphone:
  3850. description: 供应商客服电话
  3851. type: string
  3852. videourls:
  3853. description: 介绍视频[多张用逗号分隔]
  3854. type: string
  3855. required:
  3856. - goodscode
  3857. - goodsid
  3858. - goodsname
  3859. - marketid
  3860. - trademode
  3861. type: object
  3862. models.HsbySellCollectionOrder:
  3863. properties:
  3864. agreeunit:
  3865. description: 合约单位
  3866. type: number
  3867. buyaccountid:
  3868. description: 买方账号ID[报价币种]
  3869. type: integer
  3870. buyorderid:
  3871. description: 买方委托单号
  3872. type: string
  3873. createtime:
  3874. description: 创建时间
  3875. type: string
  3876. currencysign:
  3877. description: 货币符号
  3878. type: string
  3879. decimalplace:
  3880. description: 报价小数位
  3881. type: integer
  3882. goodscode:
  3883. description: 商品代码(内部)
  3884. type: string
  3885. goodsid:
  3886. description: 商品ID
  3887. type: integer
  3888. goodsname:
  3889. description: 商品名称
  3890. type: string
  3891. marketid:
  3892. description: 市场ID
  3893. type: integer
  3894. offamount:
  3895. description: 优惠金额
  3896. type: number
  3897. payamount:
  3898. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3899. type: number
  3900. payflag:
  3901. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3902. type: integer
  3903. paylimitedtime:
  3904. description: 支付期限
  3905. type: string
  3906. paytime:
  3907. description: 付款时间
  3908. type: string
  3909. picurls:
  3910. description: 商品介绍图片[多张用逗号分隔]
  3911. type: string
  3912. sellaccountid:
  3913. description: 卖方账号ID[报价币种]
  3914. type: integer
  3915. sellorderid:
  3916. description: 卖方委托单号
  3917. type: string
  3918. tradeamount:
  3919. description: 成交金额
  3920. type: number
  3921. tradecharge:
  3922. description: 成交手续费(买方)
  3923. type: number
  3924. tradedate:
  3925. description: 交易日(yyyyMMdd)
  3926. type: string
  3927. tradeid:
  3928. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3929. type: string
  3930. trademode:
  3931. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3932. 21:竞拍-大宗式 22:受托竞价
  3933. type: integer
  3934. tradeprice:
  3935. description: 成交价格
  3936. type: number
  3937. tradeqty:
  3938. description: 成交数量
  3939. type: integer
  3940. required:
  3941. - goodscode
  3942. - goodsname
  3943. - tradeid
  3944. - trademode
  3945. type: object
  3946. models.HsbySellMyDetail:
  3947. properties:
  3948. accountid:
  3949. description: 账户ID[报价币种]
  3950. type: integer
  3951. agreeunit:
  3952. description: 合约单位
  3953. type: number
  3954. buyorsell:
  3955. description: 买卖 - 0:买 1:卖
  3956. type: integer
  3957. currencysign:
  3958. description: 货币符号
  3959. type: string
  3960. decimalplace:
  3961. description: 报价小数位
  3962. type: integer
  3963. goodscode:
  3964. description: 商品代码(内部)
  3965. type: string
  3966. goodsid:
  3967. description: 商品ID
  3968. type: integer
  3969. goodsname:
  3970. description: 商品名称
  3971. type: string
  3972. marketid:
  3973. description: 市场ID
  3974. type: integer
  3975. orderid:
  3976. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  3977. type: string
  3978. ordertype:
  3979. description: 单据类型:0 - 发布中, 1 - 已完成
  3980. type: integer
  3981. picurls:
  3982. description: 介绍图片[多张用逗号分隔]
  3983. type: string
  3984. price:
  3985. description: 价格
  3986. type: number
  3987. qty:
  3988. description: 数量
  3989. type: integer
  3990. time:
  3991. description: 时间
  3992. type: string
  3993. trademode:
  3994. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3995. 21:竞拍-大宗式 22:受托竞价
  3996. type: integer
  3997. vendorname:
  3998. description: 供应商名称
  3999. type: string
  4000. required:
  4001. - accountid
  4002. - buyorsell
  4003. - goodscode
  4004. - goodsid
  4005. - goodsname
  4006. - marketid
  4007. - orderid
  4008. - time
  4009. - trademode
  4010. type: object
  4011. models.HsbyTopGoods:
  4012. properties:
  4013. agreeunit:
  4014. description: 合约单位
  4015. type: number
  4016. currency:
  4017. description: 货币
  4018. type: string
  4019. currencysign:
  4020. description: 货币符号
  4021. type: string
  4022. decimalplace:
  4023. description: 报价小数位
  4024. type: integer
  4025. goodscode:
  4026. description: 商品代码(内部)
  4027. type: string
  4028. goodsid:
  4029. description: 商品ID(自增ID SEQ_GOODS)
  4030. type: integer
  4031. goodsname:
  4032. description: 商品名称
  4033. type: string
  4034. hotindex:
  4035. description: 景点热度
  4036. type: integer
  4037. last:
  4038. description: 现价
  4039. type: number
  4040. marketid:
  4041. description: 所属市场ID
  4042. type: integer
  4043. picurls:
  4044. description: 介绍图片[多张用逗号分隔]
  4045. type: string
  4046. quoteminunit:
  4047. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4048. type: integer
  4049. trademode:
  4050. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4051. 21:竞拍-大宗式 22:受托竞价
  4052. type: integer
  4053. videourls:
  4054. description: 介绍视频[多张用逗号分隔]
  4055. type: string
  4056. required:
  4057. - goodscode
  4058. - goodsid
  4059. - goodsname
  4060. - marketid
  4061. - trademode
  4062. type: object
  4063. models.HybsMyBuyOrderDetail:
  4064. properties:
  4065. accountid:
  4066. description: 账户ID[报价币种]
  4067. type: integer
  4068. agreeunit:
  4069. description: 合约单位
  4070. type: number
  4071. buyorsell:
  4072. description: 买卖 - 0:买 1:卖
  4073. type: integer
  4074. cancelqty:
  4075. description: 撤单数量
  4076. type: integer
  4077. currencysign:
  4078. description: 货币符号
  4079. type: string
  4080. decimalplace:
  4081. description: 报价小数位
  4082. type: integer
  4083. goodscode:
  4084. description: 商品代码(内部)
  4085. type: string
  4086. goodsid:
  4087. description: 商品ID
  4088. type: integer
  4089. goodsname:
  4090. description: 商品名称
  4091. type: string
  4092. listingselecttype:
  4093. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4094. type: integer
  4095. marketid:
  4096. description: 市场ID
  4097. type: integer
  4098. mybuystatus:
  4099. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  4100. type: integer
  4101. orderamount:
  4102. description: 委托金额
  4103. type: number
  4104. orderid:
  4105. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4106. type: string
  4107. orderprice:
  4108. description: 委托价格
  4109. type: number
  4110. orderqty:
  4111. description: 委托数量
  4112. type: integer
  4113. orderstatus:
  4114. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4115. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4116. 16:成交失败违约(荷兰式竞拍专用)
  4117. type: integer
  4118. ordertime:
  4119. description: 委托时间
  4120. type: string
  4121. picurls1:
  4122. description: 预售商品介绍图片[多张用逗号分隔]
  4123. type: string
  4124. picurls2:
  4125. description: 挂牌商品介绍图片[多张用逗号分隔]
  4126. type: string
  4127. trademode:
  4128. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4129. 21:竞拍-大宗式 22:受托竞价
  4130. type: integer
  4131. tradeqty:
  4132. description: 成交数量
  4133. type: integer
  4134. vendorname1:
  4135. description: 预售商品供应商名称
  4136. type: string
  4137. vendorname2:
  4138. description: 挂牌商品供应商名称
  4139. type: string
  4140. required:
  4141. - accountid
  4142. - buyorsell
  4143. - goodscode
  4144. - goodsid
  4145. - goodsname
  4146. - marketid
  4147. - orderid
  4148. - orderqty
  4149. - ordertime
  4150. - trademode
  4151. type: object
  4152. models.Marketrun:
  4153. properties:
  4154. afternexttradedate:
  4155. description: 下下交易日
  4156. type: string
  4157. clearquoteflag:
  4158. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  4159. type: integer
  4160. lastreckondate:
  4161. description: 最新交易日(结算成功)
  4162. type: string
  4163. machinedate:
  4164. description: 机器时间
  4165. type: string
  4166. manualflag:
  4167. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  4168. type: integer
  4169. marketid:
  4170. description: 市场ID
  4171. type: integer
  4172. nexttradedate:
  4173. description: 下一交易日
  4174. type: string
  4175. pretradedate:
  4176. description: 上一交易日
  4177. type: string
  4178. reckonflag:
  4179. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  4180. type: integer
  4181. runstatus:
  4182. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  4183. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  4184. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  4185. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  4186. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  4187. 62.今日免清算
  4188. type: integer
  4189. sectionid:
  4190. description: 时间段号[多时段时用]
  4191. type: integer
  4192. tradedate:
  4193. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  4194. type: string
  4195. tradedate2:
  4196. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  4197. type: string
  4198. updatetime:
  4199. description: 更新时间
  4200. type: string
  4201. required:
  4202. - marketid
  4203. - nexttradedate
  4204. - reckonflag
  4205. - runstatus
  4206. - tradedate
  4207. - tradedate2
  4208. type: object
  4209. models.Messageboard:
  4210. properties:
  4211. createtime:
  4212. description: 创建时间
  4213. type: string
  4214. message:
  4215. description: 留言信息
  4216. type: string
  4217. messageboardid:
  4218. description: 留言簿ID(SEQ_MessageBoard)
  4219. type: integer
  4220. userid:
  4221. description: 用户ID
  4222. type: integer
  4223. required:
  4224. - messageboardid
  4225. type: object
  4226. models.MyCoupon:
  4227. properties:
  4228. accountid:
  4229. description: 资金账户ID
  4230. type: integer
  4231. areauserid:
  4232. description: 所属机构
  4233. type: integer
  4234. conditionvalue:
  4235. description: 条件阈值(可为0)
  4236. type: number
  4237. couponcategroy:
  4238. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  4239. type: integer
  4240. couponname:
  4241. description: 优惠券名称
  4242. type: string
  4243. coupontypeid:
  4244. description: 优惠券类型ID
  4245. type: string
  4246. couponvalue:
  4247. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  4248. type: number
  4249. curfreezeqty:
  4250. description: 期末冻结数量
  4251. type: integer
  4252. curqty:
  4253. description: 期末数量
  4254. type: integer
  4255. isgeneral:
  4256. description: 是否通用券 - 0:否 1:是
  4257. type: integer
  4258. isunusable:
  4259. description: 是否不可用
  4260. type: boolean
  4261. limitedflag:
  4262. description: 是否指定商品 - 0:不限 1:限制
  4263. type: integer
  4264. limitedgoodsids:
  4265. description: 指定商品IDs[逗号分隔,前后加逗号]
  4266. type: string
  4267. orifreezeqty:
  4268. description: 期初冻结数量
  4269. type: integer
  4270. oriqty:
  4271. description: 期初数量
  4272. type: integer
  4273. reasontype:
  4274. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  4275. type: integer
  4276. todaydecrease:
  4277. description: 今日减少
  4278. type: integer
  4279. todayincrease:
  4280. description: 今日增加
  4281. type: integer
  4282. userid:
  4283. description: 用户ID
  4284. type: integer
  4285. userscope:
  4286. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  4287. type: string
  4288. required:
  4289. - accountid
  4290. - coupontypeid
  4291. type: object
  4292. models.MyCouponHold:
  4293. properties:
  4294. accountid:
  4295. description: 资金账户ID
  4296. type: integer
  4297. conditionvalue:
  4298. description: 条件阈值(可为0)
  4299. type: number
  4300. couponcategroy:
  4301. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  4302. type: integer
  4303. couponholdid:
  4304. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  4305. type: string
  4306. couponname:
  4307. description: 优惠券名称
  4308. type: string
  4309. coupontypeid:
  4310. description: 优惠券类型ID - SEQ_COUPONTYPE
  4311. type: string
  4312. couponvalue:
  4313. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  4314. type: number
  4315. createtime:
  4316. description: 创建时间
  4317. type: string
  4318. enddate:
  4319. description: 结束日期
  4320. type: string
  4321. giveapplyid:
  4322. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  4323. type: integer
  4324. holdstatus:
  4325. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  4326. type: integer
  4327. isgeneral:
  4328. description: 是否通用券 - 0:否 1:是
  4329. type: integer
  4330. limitedflag:
  4331. description: 是否指定商品 - 0:不限 1:限制
  4332. type: integer
  4333. limitedgoodsids:
  4334. description: 指定商品IDs[逗号分隔]
  4335. type: string
  4336. qty:
  4337. description: 数量(按1平铺)
  4338. type: integer
  4339. startdate:
  4340. description: 开始日期
  4341. type: string
  4342. userid:
  4343. description: 用户ID
  4344. type: integer
  4345. userscope:
  4346. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  4347. type: string
  4348. required:
  4349. - couponholdid
  4350. type: object
  4351. models.MyUsedCoupon:
  4352. properties:
  4353. accountid:
  4354. description: 资金账户ID(买方)
  4355. type: integer
  4356. conditionvalue:
  4357. description: 条件阈值(可为0)
  4358. type: number
  4359. couponcategroy:
  4360. description: 种类 - 1:现金券 2:折扣券
  4361. type: integer
  4362. couponname:
  4363. description: 优惠券名称
  4364. type: string
  4365. coupontypeid:
  4366. description: 优惠券类型ID(买方)
  4367. type: string
  4368. couponvalue:
  4369. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  4370. type: number
  4371. createtime:
  4372. description: 创建时间
  4373. type: string
  4374. goodsid:
  4375. description: 商品ID
  4376. type: integer
  4377. handlestatus:
  4378. description: 处理状态
  4379. type: integer
  4380. marketid:
  4381. description: 市场ID
  4382. type: integer
  4383. offamount:
  4384. description: 优惠金额
  4385. type: number
  4386. orderid:
  4387. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4388. type: string
  4389. sellaccountid:
  4390. description: 资金账户ID(卖方)
  4391. type: integer
  4392. tradeamount:
  4393. description: 成交金额
  4394. type: number
  4395. tradeid:
  4396. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4397. type: string
  4398. usedqty:
  4399. description: 使用数量
  4400. type: integer
  4401. required:
  4402. - coupontypeid
  4403. - orderid
  4404. type: object
  4405. models.OperationPrimaryMenu:
  4406. properties:
  4407. Children:
  4408. description: 二级功能菜单
  4409. items:
  4410. $ref: '#/definitions/models.OperationSecondaryMenu'
  4411. type: array
  4412. Key:
  4413. description: 菜单KEY
  4414. type: string
  4415. Label:
  4416. description: 菜单标题
  4417. type: string
  4418. type: object
  4419. models.OperationSecondaryMenu:
  4420. properties:
  4421. Key:
  4422. description: 菜单KEY
  4423. type: string
  4424. Label:
  4425. description: 菜单标题
  4426. type: string
  4427. TabList:
  4428. description: 三级功能菜单
  4429. items:
  4430. $ref: '#/definitions/models.OperationTabMenu'
  4431. type: array
  4432. type: object
  4433. models.OperationTabMenu:
  4434. properties:
  4435. Key:
  4436. description: 菜单KEY
  4437. type: string
  4438. Label:
  4439. description: 菜单标题
  4440. type: string
  4441. type: object
  4442. models.QuotePrimaryMenu:
  4443. properties:
  4444. Index:
  4445. description: 序号
  4446. type: integer
  4447. Key:
  4448. description: 键名
  4449. type: string
  4450. Name:
  4451. description: 菜单名称
  4452. type: string
  4453. SubMenus:
  4454. description: 子菜单
  4455. items:
  4456. $ref: '#/definitions/models.QuoteSecondaryMenu'
  4457. type: array
  4458. SubTitleType:
  4459. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  4460. type: integer
  4461. TradeModes:
  4462. description: 包含市场交易类型
  4463. type: string
  4464. type: object
  4465. models.QuoteSecondaryMenu:
  4466. properties:
  4467. ExExchangeCode:
  4468. description: 外部交易所代码
  4469. type: string
  4470. ExExchangeID:
  4471. description: 外部交易所ID
  4472. type: integer
  4473. GoodsGroupIDs:
  4474. description: 商品组ID列表
  4475. items:
  4476. type: integer
  4477. type: array
  4478. Index:
  4479. description: 序号
  4480. type: integer
  4481. MarketID:
  4482. description: 市场ID
  4483. type: integer
  4484. MenuTitle:
  4485. description: 菜单标题(市场名称或外部交易所名称)
  4486. type: string
  4487. TradeMode:
  4488. description: 交易模式
  4489. type: integer
  4490. type: object
  4491. models.SearchGoods:
  4492. properties:
  4493. goodscode:
  4494. description: 商品代码(内部)
  4495. type: string
  4496. goodsid:
  4497. description: 商品ID(自增ID SEQ_GOODS)
  4498. type: integer
  4499. goodsname:
  4500. description: 商品名称
  4501. type: string
  4502. marketid:
  4503. description: 所属市场ID
  4504. type: integer
  4505. marketname:
  4506. description: 市场名称
  4507. type: string
  4508. trademode:
  4509. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4510. 21:竞拍-大宗式 22:受托竞价
  4511. type: integer
  4512. required:
  4513. - goodscode
  4514. - goodsid
  4515. - goodsname
  4516. - marketid
  4517. - trademode
  4518. type: object
  4519. models.Szdz2imageconfig:
  4520. properties:
  4521. configid:
  4522. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  4523. type: integer
  4524. imagepath:
  4525. description: 图片
  4526. type: string
  4527. imagetype:
  4528. description: 类型 - 1:App首页轮播 2:我的
  4529. type: integer
  4530. sort:
  4531. description: 排序
  4532. type: integer
  4533. title:
  4534. description: 标题
  4535. type: string
  4536. url:
  4537. description: 链接
  4538. type: string
  4539. required:
  4540. - configid
  4541. type: object
  4542. models.Szdz3convertconfig:
  4543. properties:
  4544. canin:
  4545. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  4546. type: integer
  4547. canout:
  4548. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  4549. type: integer
  4550. converttype:
  4551. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4552. 6:交易转花生米(不设置)
  4553. type: integer
  4554. createtime:
  4555. description: 创建时间
  4556. type: string
  4557. creatorid:
  4558. description: 创建人
  4559. type: integer
  4560. daymaxvalue:
  4561. description: 当日最大转入限制
  4562. type: number
  4563. freezedays:
  4564. description: 冻结天数 [5:花生米转交易]
  4565. type: integer
  4566. innergoodsid:
  4567. description: 内部商品ID[交易]
  4568. type: integer
  4569. inratio:
  4570. description: 目标值
  4571. type: integer
  4572. modifierid:
  4573. description: 修改人
  4574. type: integer
  4575. modifytime:
  4576. description: 修改时间
  4577. type: string
  4578. outergoodscode:
  4579. description: 外部商品代码[JD\PD]
  4580. type: string
  4581. outratio:
  4582. description: 源值
  4583. type: integer
  4584. pddecimalplace:
  4585. description: PD小数位
  4586. type: integer
  4587. timemaxvalue:
  4588. description: 单次最大转入限制
  4589. type: number
  4590. timeminvalue:
  4591. description: 单次最小转入限制
  4592. type: number
  4593. required:
  4594. - converttype
  4595. - innergoodsid
  4596. - outergoodscode
  4597. type: object
  4598. models.Szdz3searchwhitelist:
  4599. properties:
  4600. createtime:
  4601. description: 创建时间
  4602. type: string
  4603. creatorid:
  4604. description: 创建人
  4605. type: integer
  4606. modifierid:
  4607. description: 修改人
  4608. type: integer
  4609. modifytime:
  4610. description: 修改时间
  4611. type: string
  4612. userid:
  4613. description: 用户ID
  4614. type: integer
  4615. required:
  4616. - userid
  4617. type: object
  4618. models.Tablecolumnconfig:
  4619. properties:
  4620. aligntype:
  4621. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  4622. type: integer
  4623. autoid:
  4624. description: AutoID
  4625. type: integer
  4626. columnfield:
  4627. description: 列字段
  4628. type: string
  4629. columntitle:
  4630. description: 列Title
  4631. type: string
  4632. columnwidth:
  4633. description: 列宽
  4634. type: string
  4635. formatterstring:
  4636. description: 格式化字符
  4637. type: string
  4638. formattertype:
  4639. description: 格式化类型
  4640. type: string
  4641. groupname:
  4642. description: 表头分组名称
  4643. type: string
  4644. isshow:
  4645. description: 是否显示 - 0:不显示 1:显示
  4646. type: integer
  4647. needsummary:
  4648. description: 是否需要汇总 - 0:不需要 1:需要
  4649. type: integer
  4650. orderindex:
  4651. description: 顺序
  4652. type: integer
  4653. remark:
  4654. description: 备注
  4655. type: string
  4656. summarytype:
  4657. description: 汇总类型 - 1:加总 2:最后一个
  4658. type: integer
  4659. tablekey:
  4660. description: 列表Key
  4661. type: string
  4662. required:
  4663. - autoid
  4664. type: object
  4665. models.Useraccount:
  4666. properties:
  4667. accountname:
  4668. description: 账户名称(机构名称)
  4669. type: string
  4670. accountstatus:
  4671. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4672. type: integer
  4673. auditremark:
  4674. description: 审核备注
  4675. type: string
  4676. audittime:
  4677. description: 审核时间
  4678. type: string
  4679. audituserid:
  4680. description: 审核人
  4681. type: integer
  4682. broker:
  4683. description: 所属经纪人ID
  4684. type: integer
  4685. canceltime:
  4686. description: 销户时间
  4687. type: string
  4688. canceluserid:
  4689. description: 销户人
  4690. type: integer
  4691. createtime:
  4692. description: 创建时间
  4693. type: string
  4694. creatorid:
  4695. description: 创建人
  4696. type: integer
  4697. hasauth:
  4698. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4699. type: integer
  4700. isanonymous:
  4701. description: 是否匿名下单 - 0:否 1:是
  4702. type: integer
  4703. maxinvestornum:
  4704. description: 最大用户数(经纪会员下投资者个数)
  4705. type: integer
  4706. memberuserid:
  4707. description: 所属会员ID
  4708. type: integer
  4709. modifierid:
  4710. description: 修改人
  4711. type: integer
  4712. modifyremark:
  4713. description: 变更备注
  4714. type: string
  4715. modifystatus:
  4716. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4717. type: integer
  4718. modifytime:
  4719. description: 修改时间
  4720. type: string
  4721. parentuserid:
  4722. description: 所属机构ID
  4723. type: integer
  4724. reckonaccountid:
  4725. description: 默认结算资金账号ID(机构分润使用) 作废
  4726. type: integer
  4727. refercount:
  4728. description: 推荐总人数
  4729. type: integer
  4730. refereeuserid:
  4731. description: 推荐人ID
  4732. type: integer
  4733. refernum:
  4734. description: 推荐码
  4735. type: string
  4736. subarealevelpath:
  4737. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4738. type: string
  4739. userid:
  4740. description: 用户ID
  4741. type: integer
  4742. usertype:
  4743. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4744. type: integer
  4745. required:
  4746. - userid
  4747. type: object
  4748. models.Userfavoritegoods:
  4749. properties:
  4750. goodsid:
  4751. description: 商品ID
  4752. type: integer
  4753. required:
  4754. - goodsid
  4755. type: object
  4756. models.Userinfo:
  4757. properties:
  4758. address:
  4759. description: 地址
  4760. type: string
  4761. attachment1:
  4762. description: 附件1
  4763. type: string
  4764. attachment2:
  4765. description: 附件2
  4766. type: string
  4767. bankaccount:
  4768. description: 银行帐号 (加密存储)
  4769. type: string
  4770. bankaccountname:
  4771. description: 收款人名称
  4772. type: string
  4773. bankcardfrontphotourl:
  4774. description: 银行卡正面照地址
  4775. type: string
  4776. bankid:
  4777. description: 银行编码
  4778. type: string
  4779. bankname:
  4780. description: 银行名称
  4781. type: string
  4782. biznature:
  4783. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4784. type: integer
  4785. bizscope:
  4786. description: 企业经营范围(企业)
  4787. type: string
  4788. cardbackphotourl:
  4789. description: 证件背面图片地址
  4790. type: string
  4791. cardfrontphotourl:
  4792. description: 证件正面图片地址
  4793. type: string
  4794. cardnum:
  4795. description: 证件号码(加密存储)
  4796. type: string
  4797. cardtypeid:
  4798. description: 证件类型ID
  4799. type: integer
  4800. cityid:
  4801. description: 市
  4802. type: integer
  4803. company:
  4804. description: 公司(个人)
  4805. type: string
  4806. contactname:
  4807. description: 联系人
  4808. type: string
  4809. countryid:
  4810. description: 国家
  4811. type: integer
  4812. createtime:
  4813. description: 创建时间
  4814. type: string
  4815. creatorid:
  4816. description: 创建人
  4817. type: integer
  4818. customername:
  4819. description: 客户名称(企业名称)
  4820. type: string
  4821. districtid:
  4822. description: 地区
  4823. type: integer
  4824. email:
  4825. description: 邮件(加密存储)
  4826. type: string
  4827. fax:
  4828. description: 传真(加密存储)
  4829. type: string
  4830. halfbodyphotourl:
  4831. description: 半身照地址
  4832. type: string
  4833. hasencrypt:
  4834. description: 数据是否已加密 - 0:未加密 1:已加密
  4835. type: integer
  4836. headurl:
  4837. description: 头像地址
  4838. type: string
  4839. legalcardbackphotourl:
  4840. description: 法人身份证背面照地址
  4841. type: string
  4842. legalcardfrontphotourl:
  4843. description: 法人身份证正面照地址
  4844. type: string
  4845. legalpersonname:
  4846. description: 法人姓名(企业)
  4847. type: string
  4848. mobile:
  4849. description: 手机号码(加密存储)
  4850. type: string
  4851. mobile2:
  4852. description: 手机号码[明文-尚志]
  4853. type: string
  4854. modifierid:
  4855. description: 修改人
  4856. type: integer
  4857. modifiertime:
  4858. description: 修改时间
  4859. type: string
  4860. needinvoice:
  4861. description: 是否需要发票 - 0:不需要 1:需要
  4862. type: integer
  4863. nickname:
  4864. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  4865. type: string
  4866. openmode:
  4867. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  4868. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  4869. type: integer
  4870. otherurl:
  4871. description: 其它图片地址[使用分号分隔]
  4872. type: string
  4873. postalcode:
  4874. description: 邮政编码
  4875. type: string
  4876. provinceid:
  4877. description: 省
  4878. type: integer
  4879. qq:
  4880. description: QQ(加密存储
  4881. type: string
  4882. remark:
  4883. description: 备注
  4884. type: string
  4885. sex:
  4886. description: '用户性别 0: 女 1: 男'
  4887. type: integer
  4888. signpdfurl:
  4889. description: 签约pdf文件
  4890. type: string
  4891. telphone:
  4892. description: 联系电话(加密存储)
  4893. type: string
  4894. userid:
  4895. description: 用户ID
  4896. type: integer
  4897. userinfotype:
  4898. description: 用户信息类型 - 1:个人 2:企业
  4899. type: integer
  4900. userstatus:
  4901. description: 用户状态 - 1:正常 2:注销
  4902. type: integer
  4903. usertype:
  4904. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4905. type: integer
  4906. wechat:
  4907. description: 微信(加密存储)
  4908. type: string
  4909. wskhinfo:
  4910. description: 开户申请信息(JSON)
  4911. type: string
  4912. required:
  4913. - userid
  4914. type: object
  4915. models.WRCategoryTree:
  4916. properties:
  4917. areauserid:
  4918. description: 所属机构
  4919. type: integer
  4920. categorydesc:
  4921. description: 类别描述
  4922. type: string
  4923. categoryid:
  4924. description: 类别ID(SEQ_WRCATEGORY)
  4925. type: integer
  4926. categoryname:
  4927. description: 类别名称
  4928. type: string
  4929. iconurl:
  4930. description: 图标地址
  4931. type: string
  4932. orderindex:
  4933. description: 顺序
  4934. type: integer
  4935. parentcategoryid:
  4936. description: 父类别ID
  4937. type: integer
  4938. subcategory:
  4939. description: 子分类
  4940. items:
  4941. $ref: '#/definitions/models.WRCategoryTree'
  4942. type: array
  4943. required:
  4944. - categoryid
  4945. type: object
  4946. models.WRStandardInfo:
  4947. properties:
  4948. createtime:
  4949. description: 创建时间
  4950. type: string
  4951. creatorid:
  4952. description: 创建人
  4953. type: integer
  4954. deliverygoodsid:
  4955. description: 品种ID
  4956. type: integer
  4957. deliverygoodsname:
  4958. description: 交割商品名称
  4959. type: string
  4960. factoryitemjson:
  4961. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  4962. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  4963. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  4964. 逗号分隔'
  4965. type: string
  4966. isvalid:
  4967. description: 是否有效 - 0:无效 1:有效
  4968. type: integer
  4969. minivalue:
  4970. description: 最小变动值
  4971. type: integer
  4972. minivaluedp:
  4973. description: 最小变动值小数位
  4974. type: integer
  4975. realminivalue:
  4976. description: 实际最小变动值
  4977. type: integer
  4978. realminivaluedp:
  4979. description: 实际最小变动值小数位
  4980. type: integer
  4981. unitid:
  4982. description: 单位ID
  4983. type: integer
  4984. unitname:
  4985. description: 单位
  4986. type: string
  4987. updatetime:
  4988. description: 更新时间
  4989. type: string
  4990. updatorid:
  4991. description: 更新人
  4992. type: integer
  4993. wrsstatus:
  4994. description: 状态 - 作废 - 0:未激活 1:正常
  4995. type: integer
  4996. wrstandardcode:
  4997. description: 仓单标准代码
  4998. type: string
  4999. wrstandardid:
  5000. description: 仓单标准ID(SEQ_WRSTANDARD)
  5001. type: integer
  5002. wrstandardname:
  5003. description: 仓单标准名称
  5004. type: string
  5005. required:
  5006. - wrstandardid
  5007. type: object
  5008. models.Warehouseinfo:
  5009. properties:
  5010. address:
  5011. description: 详细地址
  5012. type: string
  5013. areauserid:
  5014. description: 所属机构
  5015. type: integer
  5016. autoid:
  5017. description: 自增ID
  5018. type: integer
  5019. cityid:
  5020. description: 市
  5021. type: integer
  5022. contactname:
  5023. description: 联系人
  5024. type: string
  5025. contactnum:
  5026. description: 联系电话
  5027. type: string
  5028. countryid:
  5029. description: 国家
  5030. type: integer
  5031. createtime:
  5032. description: 创建时间
  5033. type: string
  5034. districtid:
  5035. description: 区
  5036. type: integer
  5037. hasvideo:
  5038. description: 是否有视频 - 0:无 1:有
  5039. type: integer
  5040. provinceid:
  5041. description: 省
  5042. type: integer
  5043. remark:
  5044. description: 审核备注
  5045. type: string
  5046. videourl:
  5047. description: 视频地址
  5048. type: string
  5049. warehousecode:
  5050. description: 仓库代码
  5051. type: string
  5052. warehousename:
  5053. description: 仓库名称
  5054. type: string
  5055. warehousestatus:
  5056. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  5057. type: integer
  5058. warehousetype:
  5059. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5060. type: integer
  5061. required:
  5062. - autoid
  5063. - warehousecode
  5064. type: object
  5065. order.QueryHisTradeDetailRsp:
  5066. properties:
  5067. accountid:
  5068. description: 账户ID[报价币种]
  5069. type: integer
  5070. buildtype:
  5071. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5072. type: integer
  5073. buyorsell:
  5074. description: 方向 - 0:买 1:卖
  5075. type: integer
  5076. charge:
  5077. description: 手续费
  5078. type: number
  5079. closecharge:
  5080. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5081. type: number
  5082. closeexchagechargevalue:
  5083. description: 平仓交易所手续费设置值
  5084. type: number
  5085. closefeealgorithm:
  5086. description: 平仓手续费收取方式 1:比率 2:固定
  5087. type: integer
  5088. closememberchargevalue:
  5089. description: 平仓会员手续费设置值
  5090. type: number
  5091. closepl:
  5092. description: 平仓盈亏
  5093. type: number
  5094. closepl2:
  5095. description: 平仓盈亏[逐笔]
  5096. type: number
  5097. closeqty:
  5098. description: 平仓数量(先建后平操作 需要记录)
  5099. type: integer
  5100. creditamount:
  5101. description: 授信金额
  5102. type: number
  5103. gcaccountid:
  5104. description: 账户ID[合约币种]
  5105. type: integer
  5106. goodscode:
  5107. description: 商品代码
  5108. type: string
  5109. goodsid:
  5110. description: 商品ID
  5111. type: integer
  5112. goodsname:
  5113. description: 商品名称
  5114. type: string
  5115. histradedate:
  5116. description: 历史交易日
  5117. type: string
  5118. intclosepl:
  5119. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5120. type: integer
  5121. isconfirmexercise:
  5122. description: 是否确认行权- 0:否 1:是
  5123. type: integer
  5124. ismain:
  5125. description: 是否主单 - 0:不是 1:是
  5126. type: integer
  5127. ispreexercise:
  5128. description: 是否预申报- 0:否 1:是
  5129. type: integer
  5130. isreckoned:
  5131. description: 是否结算 - 0:未结算 1:已结算
  5132. type: integer
  5133. isvaliddata:
  5134. description: 是否有效 - 0:无效 1:有效
  5135. type: integer
  5136. listingselecttype:
  5137. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5138. type: integer
  5139. marketid:
  5140. description: 市场ID
  5141. type: integer
  5142. marketname:
  5143. description: 市场名称
  5144. type: string
  5145. matchaccountid:
  5146. description: 对手账号id
  5147. type: integer
  5148. memberuserid:
  5149. description: 会员id 个人投资者 需要填写
  5150. type: integer
  5151. opencharge:
  5152. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5153. type: number
  5154. openexchagechargevalue:
  5155. description: 建仓交易所手续费设置值
  5156. type: number
  5157. openfeealgorithm:
  5158. description: 建仓手续费收取方式 1:比率 2:固定
  5159. type: integer
  5160. openmemberchargevalue:
  5161. description: 建仓会员手续费设置值
  5162. type: number
  5163. openqty:
  5164. description: 开仓数量(先建后平操作 需要记录)
  5165. type: integer
  5166. optiontype:
  5167. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5168. type: integer
  5169. orderid:
  5170. description: 委托单号
  5171. type: string
  5172. performanceplanid:
  5173. description: 履约计划ID[期权]
  5174. type: integer
  5175. performancestatus:
  5176. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  5177. type: integer
  5178. preexerciseprice:
  5179. description: 预申报价格
  5180. type: number
  5181. premium:
  5182. description: 权利金 - [持仓单的权利金]
  5183. type: number
  5184. relatedouttradeid:
  5185. description: 关联外部成交单ID
  5186. type: integer
  5187. status:
  5188. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  5189. type: integer
  5190. tradeamount:
  5191. description: 成交金额[账户币种,用于所有权]
  5192. type: number
  5193. tradedate:
  5194. description: 交易日(yyyyMMdd)
  5195. type: string
  5196. tradeid:
  5197. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5198. type: string
  5199. trademode:
  5200. description: 交易模式
  5201. type: integer
  5202. tradeprice:
  5203. description: 成交价格
  5204. type: number
  5205. tradeproperty:
  5206. description: 交易属性
  5207. type: integer
  5208. tradeqty:
  5209. description: 成交数量
  5210. type: integer
  5211. tradetime:
  5212. description: 成交时间
  5213. type: string
  5214. tradetype:
  5215. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  5216. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  5217. type: integer
  5218. required:
  5219. - accountid
  5220. - buyorsell
  5221. - goodsid
  5222. - histradedate
  5223. - marketid
  5224. - memberuserid
  5225. - orderid
  5226. - tradeamount
  5227. - tradedate
  5228. - tradeid
  5229. - tradeprice
  5230. - tradeqty
  5231. - tradetime
  5232. type: object
  5233. order.QueryHisTradeOrderDetailRsp:
  5234. properties:
  5235. accountid:
  5236. description: 账户ID[报价币种]
  5237. type: integer
  5238. buildtype:
  5239. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  5240. type: integer
  5241. buyorsell:
  5242. description: 买卖 - 0:买 1:卖
  5243. type: integer
  5244. cancelorderid:
  5245. description: 撤单单号(撤单时填写)
  5246. type: string
  5247. cancelqty:
  5248. description: 撤单数量
  5249. type: integer
  5250. clientordertime:
  5251. description: 客户端委托时间
  5252. type: string
  5253. clientticket:
  5254. description: 客户端流水号
  5255. type: string
  5256. clienttype:
  5257. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  5258. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  5259. type: integer
  5260. closeexchagechargevalue:
  5261. description: 平仓交易所手续费设置值
  5262. type: number
  5263. closefeealgorithm:
  5264. description: 平仓手续费收取方式 1:比率 2:固定
  5265. type: integer
  5266. closefreezecharge:
  5267. description: 平仓冻结手续费(先建后平操作,需要记录)
  5268. type: number
  5269. closememberchargevalue:
  5270. description: 平仓会员手续费设置值
  5271. type: number
  5272. closeqty:
  5273. description: 平仓数量(先建后平操作 需要记录)
  5274. type: integer
  5275. closetradeqty:
  5276. description: 平仓成交数量(先建后平操作,需要记录)
  5277. type: integer
  5278. closeunfreezecharge:
  5279. description: 平仓解冻手续费(先建后平操作,需要记录)
  5280. type: number
  5281. delistingtype:
  5282. description: 摘牌类型 - 1:价格最优 2:点选成交
  5283. type: integer
  5284. freezecharge:
  5285. description: 冻结手续费
  5286. type: number
  5287. freezemargin:
  5288. description: 冻结保证金(冻结交易金额)
  5289. type: number
  5290. gcaccountid:
  5291. description: 账户ID[合约币种]
  5292. type: integer
  5293. goodscode:
  5294. description: 商品代码
  5295. type: string
  5296. goodsid:
  5297. description: 商品ID
  5298. type: integer
  5299. goodsname:
  5300. description: 商品名称
  5301. type: string
  5302. histradedate:
  5303. description: 历史交易日
  5304. type: string
  5305. isconfirmexercise:
  5306. description: 是否确认行权- 0:否 1:是
  5307. type: integer
  5308. ispreexercise:
  5309. description: 是否预申报- 0:否 1:是
  5310. type: integer
  5311. isvaliddata:
  5312. description: 是否有效 - 0:无效 1:有效
  5313. type: integer
  5314. listingselecttype:
  5315. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5316. type: integer
  5317. marginalgorithm:
  5318. description: 保证金收取方式 1:比率 2:固定
  5319. type: integer
  5320. marginvalue:
  5321. description: 即市保证金设置值
  5322. type: number
  5323. marketid:
  5324. description: 市场ID
  5325. type: integer
  5326. marketmaxsub:
  5327. description: 市价最大偏移范围
  5328. type: number
  5329. marketname:
  5330. description: 市场名称
  5331. type: string
  5332. memberuserid:
  5333. description: 所属会员UserID
  5334. type: integer
  5335. openexchagechargevalue:
  5336. description: 建仓交易所手续费设置值
  5337. type: number
  5338. openfeealgorithm:
  5339. description: 建仓手续费收取方式 1:比率 2:固定
  5340. type: integer
  5341. openfreezecharge:
  5342. description: 开仓冻结手续费(先建后平操作,需要记录)
  5343. type: number
  5344. openmemberchargevalue:
  5345. description: 建仓会员手续费设置值
  5346. type: number
  5347. openqty:
  5348. description: 开仓数量(先建后平操作,需要记录)
  5349. type: integer
  5350. opentradeqty:
  5351. description: 开仓成交数量(先建后平操作,需要记录)
  5352. type: integer
  5353. openunfreezecharge:
  5354. description: 开仓解冻手续费(先建后平操作,需要记录)
  5355. type: number
  5356. operatetype:
  5357. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  5358. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  5359. 15:管理端协议转让
  5360. type: integer
  5361. operatorid:
  5362. description: 登录账号(LoginID)
  5363. type: integer
  5364. optiontype:
  5365. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5366. type: integer
  5367. orderid:
  5368. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5369. type: string
  5370. orderprice:
  5371. description: 委托价格
  5372. type: number
  5373. orderqty:
  5374. description: 委托数量
  5375. type: integer
  5376. ordersrc:
  5377. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5378. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5379. type: integer
  5380. orderstatus:
  5381. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5382. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5383. 16:成交失败违约(荷兰式竞拍专用)
  5384. type: integer
  5385. ordertime:
  5386. description: 委托时间
  5387. type: string
  5388. preexerciseprice:
  5389. description: 预申报价格
  5390. type: number
  5391. premium:
  5392. description: 权利金
  5393. type: number
  5394. preorderid:
  5395. description: 关联预埋单号(止盈止损单时填写)
  5396. type: string
  5397. pricemode:
  5398. description: '取价方式 - 1:市价 2: 限价'
  5399. type: integer
  5400. quoteid:
  5401. description: 报价单ID
  5402. type: integer
  5403. relatedid:
  5404. description: 关联单号(交割单)
  5405. type: string
  5406. retcode:
  5407. description: 错误代码
  5408. type: integer
  5409. sessionid:
  5410. description: 会话ID
  5411. type: integer
  5412. tradedate:
  5413. description: 交易日(yyyyMMdd)
  5414. type: string
  5415. trademode:
  5416. description: 交易模式
  5417. type: integer
  5418. tradeproperty:
  5419. description: 交易属性
  5420. type: integer
  5421. tradeqty:
  5422. description: 成交数量
  5423. type: integer
  5424. unfreezecharge:
  5425. description: 解冻手续费
  5426. type: number
  5427. unfreezemargin:
  5428. description: 解冻保证金
  5429. type: number
  5430. updatetime:
  5431. description: 更新时间
  5432. type: string
  5433. uuid:
  5434. description: 发起端唯一id
  5435. type: string
  5436. validtime:
  5437. description: 有效期限
  5438. type: string
  5439. validtype:
  5440. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5441. type: integer
  5442. volumetype:
  5443. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5444. type: integer
  5445. required:
  5446. - accountid
  5447. - buildtype
  5448. - buyorsell
  5449. - goodsid
  5450. - histradedate
  5451. - marketid
  5452. - memberuserid
  5453. - operatetype
  5454. - orderid
  5455. - orderqty
  5456. - ordertime
  5457. - pricemode
  5458. - tradedate
  5459. - validtype
  5460. type: object
  5461. order.QueryTradeDetailRsp:
  5462. properties:
  5463. accountid:
  5464. description: 账户ID[报价币种]
  5465. type: integer
  5466. buildtype:
  5467. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5468. type: integer
  5469. buyorsell:
  5470. description: 方向 - 0:买 1:卖
  5471. type: integer
  5472. charge:
  5473. description: 手续费
  5474. type: number
  5475. closecharge:
  5476. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5477. type: number
  5478. closeexchagechargevalue:
  5479. description: 平仓交易所手续费设置值
  5480. type: number
  5481. closefeealgorithm:
  5482. description: 平仓手续费收取方式 1:比率 2:固定
  5483. type: integer
  5484. closememberchargevalue:
  5485. description: 平仓会员手续费设置值
  5486. type: number
  5487. closepl:
  5488. description: 平仓盈亏
  5489. type: number
  5490. closepl2:
  5491. description: 平仓盈亏[逐笔]
  5492. type: number
  5493. closeqty:
  5494. description: 平仓数量(先建后平操作 需要记录)
  5495. type: integer
  5496. creditamount:
  5497. description: 授信金额
  5498. type: number
  5499. gcaccountid:
  5500. description: 账户ID[合约币种]
  5501. type: integer
  5502. goodscode:
  5503. description: 商品代码
  5504. type: string
  5505. goodsid:
  5506. description: 商品ID
  5507. type: integer
  5508. goodsname:
  5509. description: 商品名称
  5510. type: string
  5511. intclosepl:
  5512. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5513. type: integer
  5514. isconfirmexercise:
  5515. description: 是否确认行权- 0:否 1:是
  5516. type: integer
  5517. ismain:
  5518. description: 是否主单 - 0:不是 1:是
  5519. type: integer
  5520. ispreexercise:
  5521. description: 是否预申报- 0:否 1:是
  5522. type: integer
  5523. isreckoned:
  5524. description: 是否结算 - 0:未结算 1:已结算
  5525. type: integer
  5526. listingselecttype:
  5527. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5528. type: integer
  5529. marketid:
  5530. description: 市场ID
  5531. type: integer
  5532. marketname:
  5533. description: 市场名称
  5534. type: string
  5535. matchaccountid:
  5536. description: 对手账号id
  5537. type: integer
  5538. memberuserid:
  5539. description: 会员id 个人投资者 需要填写
  5540. type: integer
  5541. opencharge:
  5542. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5543. type: number
  5544. openexchagechargevalue:
  5545. description: 建仓交易所手续费设置值
  5546. type: number
  5547. openfeealgorithm:
  5548. description: 建仓手续费收取方式 1:比率 2:固定
  5549. type: integer
  5550. openmemberchargevalue:
  5551. description: 建仓会员手续费设置值
  5552. type: number
  5553. openqty:
  5554. description: 开仓数量(先建后平操作 需要记录)
  5555. type: integer
  5556. optiontype:
  5557. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5558. type: integer
  5559. orderid:
  5560. description: 委托单号
  5561. type: string
  5562. performanceplanid:
  5563. description: 履约计划ID[期权]
  5564. type: integer
  5565. performancestatus:
  5566. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  5567. type: integer
  5568. preexerciseprice:
  5569. description: 预申报价格
  5570. type: number
  5571. premium:
  5572. description: 权利金 - [持仓单的权利金]
  5573. type: number
  5574. relatedouttradeid:
  5575. description: 关联外部成交单ID
  5576. type: integer
  5577. status:
  5578. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  5579. type: integer
  5580. tradeamount:
  5581. description: 成交金额[账户币种,用于所有权]
  5582. type: number
  5583. tradedate:
  5584. description: 交易日(yyyyMMdd)
  5585. type: string
  5586. tradeid:
  5587. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5588. type: string
  5589. trademode:
  5590. description: 交易模式
  5591. type: integer
  5592. tradeprice:
  5593. description: 成交价格
  5594. type: number
  5595. tradeproperty:
  5596. description: 交易属性
  5597. type: integer
  5598. tradeqty:
  5599. description: 成交数量
  5600. type: integer
  5601. tradetime:
  5602. description: 成交时间
  5603. type: string
  5604. tradetype:
  5605. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  5606. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  5607. type: integer
  5608. required:
  5609. - accountid
  5610. - buyorsell
  5611. - goodsid
  5612. - marketid
  5613. - memberuserid
  5614. - orderid
  5615. - tradeamount
  5616. - tradedate
  5617. - tradeid
  5618. - tradeprice
  5619. - tradeqty
  5620. - tradetime
  5621. type: object
  5622. order.QueryTradeOrderDetailRsp:
  5623. properties:
  5624. accountid:
  5625. description: 账户ID[报价币种]
  5626. type: integer
  5627. buildtype:
  5628. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  5629. type: integer
  5630. buyorsell:
  5631. description: 买卖 - 0:买 1:卖
  5632. type: integer
  5633. cancelorderid:
  5634. description: 撤单单号(撤单时填写)
  5635. type: string
  5636. cancelqty:
  5637. description: 撤单数量
  5638. type: integer
  5639. clienttype:
  5640. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  5641. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  5642. type: integer
  5643. closefreezecharge:
  5644. description: 平仓冻结手续费(先建后平操作,需要记录)
  5645. type: number
  5646. closeqty:
  5647. description: 平仓数量(先建后平操作 需要记录)
  5648. type: integer
  5649. closetradeqty:
  5650. description: 平仓成交数量(先建后平操作,需要记录)
  5651. type: integer
  5652. closeunfreezecharge:
  5653. description: 平仓解冻手续费(先建后平操作,需要记录)
  5654. type: number
  5655. delistingtype:
  5656. description: 摘牌类型 - 1:价格最优 2:点选成交
  5657. type: integer
  5658. enableqty:
  5659. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  5660. type: integer
  5661. freezecharge:
  5662. description: 冻结手续费
  5663. type: number
  5664. freezemargin:
  5665. description: 冻结保证金(冻结交易金额)
  5666. type: number
  5667. goodscode:
  5668. description: 商品代码
  5669. type: string
  5670. goodsid:
  5671. description: 商品ID
  5672. type: integer
  5673. goodsname:
  5674. description: 商品名称
  5675. type: string
  5676. listingselecttype:
  5677. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5678. type: integer
  5679. marketid:
  5680. description: 市场ID
  5681. type: integer
  5682. marketname:
  5683. description: 市场名称
  5684. type: string
  5685. openfreezecharge:
  5686. description: 开仓冻结手续费(先建后平操作,需要记录)
  5687. type: number
  5688. openqty:
  5689. description: 开仓数量(先建后平操作,需要记录)
  5690. type: integer
  5691. opentradeqty:
  5692. description: 开仓成交数量(先建后平操作,需要记录)
  5693. type: integer
  5694. openunfreezecharge:
  5695. description: 开仓解冻手续费(先建后平操作,需要记录)
  5696. type: number
  5697. operatetype:
  5698. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  5699. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  5700. 15:管理端协议转让
  5701. type: integer
  5702. operatorid:
  5703. description: 登录账号(LoginID)
  5704. type: integer
  5705. orderid:
  5706. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5707. type: string
  5708. orderprice:
  5709. description: 委托价格
  5710. type: number
  5711. orderqty:
  5712. description: 委托数量
  5713. type: integer
  5714. ordersrc:
  5715. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5716. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5717. type: integer
  5718. orderstatus:
  5719. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5720. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5721. 16:成交失败违约(荷兰式竞拍专用)
  5722. type: integer
  5723. ordertime:
  5724. description: 委托时间
  5725. type: string
  5726. preorderid:
  5727. description: 关联预埋单号(止盈止损单时填写)
  5728. type: string
  5729. pricemode:
  5730. description: '取价方式 - 1:市价 2: 限价'
  5731. type: integer
  5732. relatedid:
  5733. description: 关联单号(交割单)
  5734. type: string
  5735. tradedate:
  5736. description: 交易日(yyyyMMdd)
  5737. type: string
  5738. trademode:
  5739. description: 交易模式
  5740. type: integer
  5741. tradeqty:
  5742. description: 成交数量
  5743. type: integer
  5744. unfreezecharge:
  5745. description: 解冻手续费
  5746. type: number
  5747. unfreezemargin:
  5748. description: 解冻保证金
  5749. type: number
  5750. validtime:
  5751. description: 有效期限
  5752. type: string
  5753. validtype:
  5754. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5755. type: integer
  5756. volumetype:
  5757. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5758. type: integer
  5759. required:
  5760. - accountid
  5761. - buildtype
  5762. - buyorsell
  5763. - goodsid
  5764. - marketid
  5765. - operatetype
  5766. - orderqty
  5767. - ordertime
  5768. - pricemode
  5769. - tradedate
  5770. - validtype
  5771. type: object
  5772. order.QueryTradePositionRsp:
  5773. properties:
  5774. accountid:
  5775. description: 资金账户
  5776. type: integer
  5777. agreeunit:
  5778. description: 合约单位
  5779. type: number
  5780. averageprice:
  5781. description: 持仓均价
  5782. type: number
  5783. buyorsell:
  5784. description: 方向 - 0:买 1:卖
  5785. type: integer
  5786. closetotalqty:
  5787. description: 平仓总数量
  5788. type: integer
  5789. curholderamount:
  5790. description: 当前持仓总金额[商品币种]
  5791. type: number
  5792. curpositionqty:
  5793. description: 当前持仓总数量
  5794. type: integer
  5795. currencyid:
  5796. description: 报价货币ID
  5797. type: integer
  5798. curtdposition:
  5799. description: 期末今日头寸
  5800. type: integer
  5801. decimalplace:
  5802. description: 报价小数位
  5803. type: integer
  5804. enableqty:
  5805. description: 可用量
  5806. type: integer
  5807. fretdposition:
  5808. description: 冻结今日头寸
  5809. type: integer
  5810. frozenqty:
  5811. description: 持仓冻结数量
  5812. type: integer
  5813. goodscode:
  5814. description: 商品代码
  5815. type: string
  5816. goodsid:
  5817. description: 商品Id
  5818. type: integer
  5819. goodsname:
  5820. description: 商品名称
  5821. type: string
  5822. goodunit:
  5823. description: 报价单位
  5824. type: string
  5825. goodunitid:
  5826. description: 报价单位ID
  5827. type: integer
  5828. holderamount:
  5829. description: 期初持仓总金额[商品币种]
  5830. type: number
  5831. marketid:
  5832. description: 所属市场ID
  5833. type: integer
  5834. openreqqty:
  5835. description: 开仓申请数量(用于比较最大持仓数量)
  5836. type: integer
  5837. opentotalqty:
  5838. description: 开仓总数量
  5839. type: integer
  5840. otherfrozenqty:
  5841. description: 持仓其他冻结数量(交割冻结)
  5842. type: integer
  5843. positionqty:
  5844. description: 期初持仓数量
  5845. type: integer
  5846. tnqty:
  5847. description: T+N冻结总量
  5848. type: integer
  5849. tnusedqty:
  5850. description: T+N使用量(可以使用T+N的冻结数量)
  5851. type: integer
  5852. trademode:
  5853. description: 交易模式
  5854. type: integer
  5855. usedmargin:
  5856. description: 占用保证金[商品币种]
  5857. type: number
  5858. required:
  5859. - goodsid
  5860. type: object
  5861. quote.HistoryData:
  5862. properties:
  5863. c:
  5864. description: 收盘价
  5865. type: number
  5866. h:
  5867. description: 最高价
  5868. type: number
  5869. hv:
  5870. description: 持仓量
  5871. type: integer
  5872. l:
  5873. description: 最低价
  5874. type: number
  5875. o:
  5876. description: 开盘价
  5877. type: number
  5878. s:
  5879. description: 结算价,日线周期(包括)以上才有
  5880. type: number
  5881. ts:
  5882. description: 时间
  5883. type: string
  5884. tt:
  5885. description: 总金额
  5886. type: number
  5887. tv:
  5888. description: 总量
  5889. type: integer
  5890. type: object
  5891. quote.QueryTSDataRsp:
  5892. properties:
  5893. decimalPlace:
  5894. description: 小数位
  5895. type: integer
  5896. endTime:
  5897. description: 结束时间
  5898. type: string
  5899. goodsCode:
  5900. description: 商品代码
  5901. type: string
  5902. historyDatas:
  5903. description: 历史数据
  5904. items:
  5905. $ref: '#/definitions/quote.HistoryData'
  5906. type: array
  5907. preSettle:
  5908. description: 昨结
  5909. type: number
  5910. startTime:
  5911. description: 开始时间
  5912. type: string
  5913. tradeDate:
  5914. description: 交易日
  5915. type: string
  5916. type: object
  5917. szdz.QueryConvertLogRsp:
  5918. properties:
  5919. accountid:
  5920. description: 资金账户ID
  5921. type: integer
  5922. clientticket:
  5923. description: 客户端流水号
  5924. type: string
  5925. converttype:
  5926. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  5927. type: integer
  5928. createtime:
  5929. description: 记账时间
  5930. type: string
  5931. daymaxvalue:
  5932. description: 配置当日最大转入限制
  5933. type: number
  5934. daymaxvalue2:
  5935. description: 配置当日最大转入限制(转入)
  5936. type: number
  5937. goodscode:
  5938. description: 商品代码
  5939. type: string
  5940. goodsname:
  5941. description: 商品名称
  5942. type: string
  5943. handlestatus:
  5944. description: 处理状态
  5945. type: integer
  5946. innergoodsid:
  5947. description: 内部商品ID
  5948. type: integer
  5949. inratio:
  5950. description: 配置转入比值
  5951. type: integer
  5952. invalue:
  5953. description: 目标值
  5954. type: number
  5955. logid:
  5956. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5957. type: integer
  5958. mobile:
  5959. description: 手机号码(加密存储)
  5960. type: string
  5961. outergoodscode:
  5962. description: 外部商品代码[JD\PD]
  5963. type: string
  5964. outratio:
  5965. description: 配置转出比值
  5966. type: integer
  5967. outvalue:
  5968. description: 源值
  5969. type: number
  5970. pddecimalplace:
  5971. description: PD小数位
  5972. type: integer
  5973. qty:
  5974. description: 数量
  5975. type: string
  5976. remark:
  5977. description: 备注
  5978. type: string
  5979. sessionid:
  5980. description: 会话ID
  5981. type: integer
  5982. timemaxvalue:
  5983. description: 配置单次最大转入限制
  5984. type: number
  5985. timemaxvalue2:
  5986. description: 配置单次最大转入限制(转入)
  5987. type: number
  5988. timeminvalue:
  5989. description: 配置单次最小数量限制
  5990. type: number
  5991. timeminvalue2:
  5992. description: 配置单次最小数量限制(转入)
  5993. type: number
  5994. tradedate:
  5995. description: 交易日(yyyyMMdd)
  5996. type: string
  5997. userid:
  5998. description: 用户ID
  5999. type: integer
  6000. required:
  6001. - logid
  6002. type: object
  6003. szdz.QueryGoodsPickupRsp:
  6004. properties:
  6005. accountid:
  6006. description: 账户ID
  6007. type: integer
  6008. address:
  6009. description: 提货人详细地址
  6010. type: string
  6011. auditer:
  6012. description: 审核人
  6013. type: integer
  6014. audittime:
  6015. description: 审核时间
  6016. type: string
  6017. cardnum:
  6018. description: 提货人证件号码
  6019. type: string
  6020. cardtypeid:
  6021. description: 提货人证件类型
  6022. type: integer
  6023. checkremark:
  6024. description: 审核备注
  6025. type: string
  6026. goodscode:
  6027. description: 商品代码
  6028. type: string
  6029. goodsid:
  6030. description: 商品ID
  6031. type: integer
  6032. goodsname:
  6033. description: 商品名称
  6034. type: string
  6035. handlestatus:
  6036. description: 处理状态
  6037. type: integer
  6038. marketid:
  6039. description: 市场ID
  6040. type: integer
  6041. phonenum:
  6042. description: 提货人联系方式
  6043. type: string
  6044. qty:
  6045. description: 提货数量
  6046. type: number
  6047. recivername:
  6048. description: 提货人姓名
  6049. type: string
  6050. reqtime:
  6051. description: 更新时间
  6052. type: string
  6053. takemode:
  6054. description: 提货方式 - 2:自提 3:配送
  6055. type: integer
  6056. takeorderid:
  6057. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6058. type: string
  6059. takeorderstatus:
  6060. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6061. type: integer
  6062. takeremark:
  6063. description: 提货备注
  6064. type: string
  6065. tradedate:
  6066. description: 交易日(yyyyMMdd)
  6067. type: string
  6068. userid:
  6069. description: 用户ID
  6070. type: integer
  6071. required:
  6072. - takeorderid
  6073. type: object
  6074. szdz.QueryRecieptOrderRsp:
  6075. properties:
  6076. accountName:
  6077. description: 所属账号名称(已脱敏)
  6078. type: string
  6079. accountid:
  6080. description: 资金账号
  6081. type: integer
  6082. buyorsell:
  6083. description: 方向 - 0:买 1:卖
  6084. type: integer
  6085. enableqty:
  6086. description: 可摘数量
  6087. type: integer
  6088. goodscode:
  6089. description: 商品代码
  6090. type: string
  6091. goodsid:
  6092. description: 商品ID
  6093. type: integer
  6094. goodsname:
  6095. description: 商品名称
  6096. type: string
  6097. orderid:
  6098. description: 委托单号
  6099. type: string
  6100. orderprice:
  6101. description: 委托价格
  6102. type: number
  6103. ordertime:
  6104. description: 委托时间
  6105. type: string
  6106. tradedate:
  6107. description: 交易日(yyyyMMdd)
  6108. type: string
  6109. required:
  6110. - ordertime
  6111. type: object
  6112. szdz.QuerySZDZTradePositionRsp:
  6113. properties:
  6114. accountid:
  6115. description: 账号Id
  6116. type: integer
  6117. agreeunit:
  6118. description: 合约单位
  6119. type: number
  6120. averageprice:
  6121. description: 持仓均价
  6122. type: number
  6123. buyorsell:
  6124. description: 方向 - 0:买 1:卖
  6125. type: integer
  6126. closetotalqty:
  6127. description: 平仓总数量
  6128. type: integer
  6129. curholderamount:
  6130. description: 当前持仓总金额
  6131. type: number
  6132. curpositionqty:
  6133. description: 当前持仓总数量
  6134. type: integer
  6135. currencyid:
  6136. description: 报价货币ID
  6137. type: integer
  6138. curtdposition:
  6139. description: 期末今日头寸
  6140. type: integer
  6141. decimalplace:
  6142. description: 报价小数位
  6143. type: integer
  6144. enableqty:
  6145. description: 可用量
  6146. type: integer
  6147. fretdposition:
  6148. description: 冻结今日头寸
  6149. type: integer
  6150. frozenqty:
  6151. description: 持仓冻结数量
  6152. type: integer
  6153. goodscode:
  6154. description: 商品代码(内部)
  6155. type: string
  6156. goodsid:
  6157. description: 商品Id
  6158. type: integer
  6159. goodsname:
  6160. description: 商品名称
  6161. type: string
  6162. goodunit:
  6163. description: 报价单位
  6164. type: string
  6165. goodunitid:
  6166. description: 报价单位ID
  6167. type: integer
  6168. holderamount:
  6169. description: 期初持仓总金额
  6170. type: number
  6171. marketid:
  6172. description: 市场ID
  6173. type: integer
  6174. openreqqty:
  6175. description: 开仓申请数量
  6176. type: integer
  6177. opentotalqty:
  6178. description: 开仓总数量
  6179. type: integer
  6180. otherfrozenqty:
  6181. description: 持仓其他冻结数量(交割冻结)
  6182. type: integer
  6183. positionqty:
  6184. description: 期初持仓数量
  6185. type: integer
  6186. szdz3freezqty:
  6187. description: 尚志大宗转换冻结总数量
  6188. type: integer
  6189. tnqty:
  6190. description: T+N冻结总量
  6191. type: integer
  6192. tnusedqty:
  6193. description: T+N使用量
  6194. type: integer
  6195. trademode:
  6196. description: 交易模式
  6197. type: integer
  6198. usedmargin:
  6199. description: 占用保证金
  6200. type: number
  6201. type: object
  6202. taaccount.QueryAmountLogRsp:
  6203. properties:
  6204. OPERATETYPENAME:
  6205. description: 资金操作类型名称
  6206. type: string
  6207. accountid:
  6208. description: 资金账户ID
  6209. type: integer
  6210. agoodscode:
  6211. description: 竞拍商品代码
  6212. type: string
  6213. agoodsname:
  6214. description: 竞拍商品名称
  6215. type: string
  6216. amount:
  6217. description: 资金金额
  6218. type: number
  6219. amountadjusttype:
  6220. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  6221. type: integer
  6222. autoid:
  6223. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  6224. type: integer
  6225. balance:
  6226. description: 期初余额
  6227. type: number
  6228. businesscode:
  6229. description: 业务编号
  6230. type: integer
  6231. createtime:
  6232. description: 发生时间
  6233. type: string
  6234. currencyid:
  6235. description: 币种ID
  6236. type: integer
  6237. currentbalance:
  6238. description: 期末余额(变动后金额)
  6239. type: number
  6240. dgoodscode:
  6241. description: 交割商品代码
  6242. type: string
  6243. dgoodsname:
  6244. description: 交割商品名称
  6245. type: string
  6246. goodscode:
  6247. description: 商品代码
  6248. type: string
  6249. goodsid:
  6250. description: 商品ID
  6251. type: integer
  6252. goodsname:
  6253. description: 商品名称
  6254. type: string
  6255. marketid:
  6256. description: 市场ID
  6257. type: integer
  6258. marketname:
  6259. description: 市场名称
  6260. type: string
  6261. moneyticket:
  6262. description: 资金流水号:银行端流水号
  6263. type: integer
  6264. operatetype:
  6265. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  6266. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  6267. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  6268. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  6269. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  6270. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  6271. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  6272. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  6273. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  6274. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  6275. type: integer
  6276. relationorderid:
  6277. description: 关联单号
  6278. type: string
  6279. remark:
  6280. description: 备注
  6281. type: string
  6282. trademode:
  6283. description: 交易模式
  6284. type: integer
  6285. required:
  6286. - accountid
  6287. - amount
  6288. - amountadjusttype
  6289. - autoid
  6290. - balance
  6291. - createtime
  6292. - currentbalance
  6293. - operatetype
  6294. type: object
  6295. taaccount.QueryHisAmountLogRsp:
  6296. properties:
  6297. OPERATETYPENAME:
  6298. description: 资金操作类型名称
  6299. type: string
  6300. accountid:
  6301. description: 资金账户ID
  6302. type: integer
  6303. agoodscode:
  6304. description: 竞拍商品代码
  6305. type: string
  6306. agoodsname:
  6307. description: 竞拍商品名称
  6308. type: string
  6309. amount:
  6310. description: 资金金额
  6311. type: number
  6312. amountadjusttype:
  6313. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  6314. type: integer
  6315. autoid:
  6316. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  6317. type: integer
  6318. balance:
  6319. description: 期初余额
  6320. type: number
  6321. businesscode:
  6322. description: 业务编号
  6323. type: integer
  6324. createtime:
  6325. description: 发生时间
  6326. type: string
  6327. currencyid:
  6328. description: 币种ID
  6329. type: integer
  6330. currentbalance:
  6331. description: 期末余额(变动后金额)
  6332. type: number
  6333. dgoodscode:
  6334. description: 交割商品代码
  6335. type: string
  6336. dgoodsname:
  6337. description: 交割商品名称
  6338. type: string
  6339. goodscode:
  6340. description: 商品代码
  6341. type: string
  6342. goodsid:
  6343. description: 商品ID
  6344. type: integer
  6345. goodsname:
  6346. description: 商品名称
  6347. type: string
  6348. histradedate:
  6349. description: 历史交易日
  6350. type: string
  6351. isvaliddata:
  6352. description: 是否有效 - 0:无效 1:有效
  6353. type: integer
  6354. marketid:
  6355. description: 市场ID
  6356. type: integer
  6357. marketname:
  6358. description: 市场名称
  6359. type: string
  6360. moneyticket:
  6361. description: 资金流水号:银行端流水号
  6362. type: integer
  6363. operatetype:
  6364. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  6365. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  6366. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  6367. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  6368. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  6369. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  6370. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  6371. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  6372. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  6373. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  6374. type: integer
  6375. relationorderid:
  6376. description: 关联单号
  6377. type: string
  6378. remark:
  6379. description: 备注
  6380. type: string
  6381. trademode:
  6382. description: 交易模式
  6383. type: integer
  6384. required:
  6385. - accountid
  6386. - amount
  6387. - amountadjusttype
  6388. - autoid
  6389. - balance
  6390. - createtime
  6391. - currentbalance
  6392. - histradedate
  6393. - operatetype
  6394. type: object
  6395. trade.QueryRecieptOrderRsp:
  6396. properties:
  6397. accountName:
  6398. description: 所属账号名称(已脱敏)
  6399. type: string
  6400. accountid:
  6401. description: 资金账号
  6402. type: integer
  6403. buyorsell:
  6404. description: 方向 - 0:买 1:卖
  6405. type: integer
  6406. enableqty:
  6407. description: 可摘数量
  6408. type: integer
  6409. goodscode:
  6410. description: 商品代码
  6411. type: string
  6412. goodsid:
  6413. description: 商品ID
  6414. type: integer
  6415. goodsname:
  6416. description: 商品名称
  6417. type: string
  6418. orderid:
  6419. description: 委托单号
  6420. type: string
  6421. orderprice:
  6422. description: 委托价格
  6423. type: number
  6424. ordertime:
  6425. description: 委托时间
  6426. type: string
  6427. tradedate:
  6428. description: 交易日(yyyyMMdd)
  6429. type: string
  6430. required:
  6431. - ordertime
  6432. type: object
  6433. info:
  6434. contact: {}
  6435. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  6436. termsOfService: http://muchinfo.cn
  6437. title: MTP2.0 查询服务 API
  6438. version: "1.0"
  6439. paths:
  6440. /CPTrade/QueryCPTradeMyBidInfos:
  6441. get:
  6442. parameters:
  6443. - description: 资金账户
  6444. in: query
  6445. name: accountid
  6446. required: true
  6447. type: integer
  6448. - description: 预售市场ID
  6449. in: query
  6450. name: marketid
  6451. type: integer
  6452. - description: 预售商品ID
  6453. in: query
  6454. name: goodsid
  6455. type: integer
  6456. produces:
  6457. - application/json
  6458. responses:
  6459. "200":
  6460. description: OK
  6461. schema:
  6462. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  6463. "500":
  6464. description: Internal Server Error
  6465. schema:
  6466. $ref: '#/definitions/app.Response'
  6467. security:
  6468. - ApiKeyAuth: []
  6469. summary: 查询产能预售我的出价信息
  6470. tags:
  6471. - 产能预售
  6472. /CPTrade/QueryCPTradeOrderDetail:
  6473. get:
  6474. parameters:
  6475. - description: 预售商品ID
  6476. in: query
  6477. name: goodsid
  6478. type: integer
  6479. - description: 预售市场ID
  6480. in: query
  6481. name: marketid
  6482. type: integer
  6483. - description: 预售商品ID列表 - 格式:1,2,3
  6484. in: query
  6485. name: goodsids
  6486. type: string
  6487. produces:
  6488. - application/json
  6489. responses:
  6490. "200":
  6491. description: OK
  6492. schema:
  6493. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  6494. "500":
  6495. description: Internal Server Error
  6496. schema:
  6497. $ref: '#/definitions/app.Response'
  6498. security:
  6499. - ApiKeyAuth: []
  6500. summary: 查询产能预售委托单信息
  6501. tags:
  6502. - 产能预售
  6503. /CPTrade/QueryMyCPTradeGoods:
  6504. get:
  6505. parameters:
  6506. - description: 资金账户
  6507. in: query
  6508. name: accountid
  6509. required: true
  6510. type: integer
  6511. produces:
  6512. - application/json
  6513. responses:
  6514. "200":
  6515. description: OK
  6516. schema:
  6517. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  6518. "500":
  6519. description: Internal Server Error
  6520. schema:
  6521. $ref: '#/definitions/app.Response'
  6522. security:
  6523. - ApiKeyAuth: []
  6524. summary: 查询我的预售信息
  6525. tags:
  6526. - 产能预售
  6527. /CPTrade/QueryPositionCancel:
  6528. get:
  6529. parameters:
  6530. - description: 账户ID
  6531. in: query
  6532. name: userid
  6533. required: true
  6534. type: integer
  6535. - description: 注销ID
  6536. in: query
  6537. name: cancelid
  6538. type: integer
  6539. - description: 资金账户ID
  6540. in: query
  6541. name: accountid
  6542. type: integer
  6543. produces:
  6544. - application/json
  6545. responses:
  6546. "200":
  6547. description: OK
  6548. schema:
  6549. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  6550. "500":
  6551. description: Internal Server Error
  6552. schema:
  6553. $ref: '#/definitions/app.Response'
  6554. security:
  6555. - ApiKeyAuth: []
  6556. summary: 查询远期订单注销申请信息
  6557. tags:
  6558. - 产能预售
  6559. /CPTrade/QueryPreasleApply:
  6560. get:
  6561. parameters:
  6562. - description: 账户ID
  6563. in: query
  6564. name: userid
  6565. required: true
  6566. type: integer
  6567. - description: 申请ID
  6568. in: query
  6569. name: applyid
  6570. type: integer
  6571. - description: 资金账户ID
  6572. in: query
  6573. name: accountid
  6574. type: integer
  6575. produces:
  6576. - application/json
  6577. responses:
  6578. "200":
  6579. description: OK
  6580. schema:
  6581. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  6582. "500":
  6583. description: Internal Server Error
  6584. schema:
  6585. $ref: '#/definitions/app.Response'
  6586. security:
  6587. - ApiKeyAuth: []
  6588. summary: 查询产能预售申请信息
  6589. tags:
  6590. - 产能预售
  6591. /CPTrade/QueryPresaleGoodsEx:
  6592. get:
  6593. parameters:
  6594. - description: 预售商品ID
  6595. in: query
  6596. name: goodsid
  6597. type: integer
  6598. - description: 预售市场ID
  6599. in: query
  6600. name: marketid
  6601. type: integer
  6602. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  6603. in: query
  6604. name: presalemode
  6605. type: integer
  6606. - description: 预售商品ID列表 - 格式:1,2,3
  6607. in: query
  6608. name: goodsids
  6609. type: string
  6610. - description: 预售商品代码
  6611. in: query
  6612. name: goodscode
  6613. type: string
  6614. produces:
  6615. - application/json
  6616. responses:
  6617. "200":
  6618. description: OK
  6619. schema:
  6620. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  6621. "500":
  6622. description: Internal Server Error
  6623. schema:
  6624. $ref: '#/definitions/app.Response'
  6625. security:
  6626. - ApiKeyAuth: []
  6627. summary: 查询产能预售商品扩展信息
  6628. tags:
  6629. - 产能预售
  6630. /CPTrade/QueryUserGoodsData:
  6631. get:
  6632. parameters:
  6633. - description: 资金账户ID
  6634. in: query
  6635. name: accountid
  6636. required: true
  6637. type: integer
  6638. produces:
  6639. - application/json
  6640. responses:
  6641. "200":
  6642. description: OK
  6643. schema:
  6644. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  6645. "500":
  6646. description: Internal Server Error
  6647. schema:
  6648. $ref: '#/definitions/app.Response'
  6649. security:
  6650. - ApiKeyAuth: []
  6651. summary: 查询远期订单信息
  6652. tags:
  6653. - 产能预售
  6654. /Common/GetAllEnums:
  6655. get:
  6656. produces:
  6657. - application/json
  6658. responses:
  6659. "200":
  6660. description: OK
  6661. schema:
  6662. $ref: '#/definitions/models.Enumdicitem'
  6663. "500":
  6664. description: Internal Server Error
  6665. schema:
  6666. $ref: '#/definitions/app.Response'
  6667. summary: 获取所有枚举信息
  6668. tags:
  6669. - 通用服务
  6670. /Common/GetServerTime:
  6671. get:
  6672. produces:
  6673. - application/json
  6674. responses:
  6675. "200":
  6676. description: OK
  6677. schema:
  6678. $ref: '#/definitions/app.Response'
  6679. "500":
  6680. description: Internal Server Error
  6681. schema:
  6682. $ref: '#/definitions/app.Response'
  6683. summary: 获取服务器时间
  6684. tags:
  6685. - 通用服务
  6686. /Common/NoticeReaded:
  6687. post:
  6688. parameters:
  6689. - description: 登录账号
  6690. in: query
  6691. name: loginID
  6692. required: true
  6693. type: integer
  6694. - description: 通知公告ID
  6695. in: query
  6696. name: noticeID
  6697. required: true
  6698. type: integer
  6699. produces:
  6700. - application/json
  6701. responses:
  6702. "200":
  6703. description: OK
  6704. schema:
  6705. $ref: '#/definitions/app.Response'
  6706. "500":
  6707. description: Internal Server Error
  6708. schema:
  6709. $ref: '#/definitions/app.Response'
  6710. security:
  6711. - ApiKeyAuth: []
  6712. summary: 通知公告设置已读请求
  6713. tags:
  6714. - 通用服务
  6715. /Common/QueryImageConfigs:
  6716. get:
  6717. parameters:
  6718. - description: 类型 - 1:App首页轮播 2:我的
  6719. in: query
  6720. name: imageType
  6721. type: integer
  6722. produces:
  6723. - application/json
  6724. responses:
  6725. "200":
  6726. description: OK
  6727. schema:
  6728. $ref: '#/definitions/models.Szdz2imageconfig'
  6729. "500":
  6730. description: Internal Server Error
  6731. schema:
  6732. $ref: '#/definitions/app.Response'
  6733. summary: 查询轮播图配置信息
  6734. tags:
  6735. - 通用服务
  6736. /Common/QueryNotice:
  6737. get:
  6738. parameters:
  6739. - description: 页码
  6740. in: query
  6741. name: page
  6742. type: integer
  6743. - description: 每页条数
  6744. in: query
  6745. name: pagesize
  6746. type: integer
  6747. - description: 登录账号
  6748. in: query
  6749. name: loginID
  6750. required: true
  6751. type: integer
  6752. - description: 消息类型 - 1:公告通知 2:系统消息
  6753. in: query
  6754. name: msgType
  6755. type: integer
  6756. - description: 是否只获取未读信息
  6757. in: query
  6758. name: onlyUnRead
  6759. type: boolean
  6760. produces:
  6761. - application/json
  6762. responses:
  6763. "200":
  6764. description: OK
  6765. schema:
  6766. $ref: '#/definitions/common.QueryNoticeRsp'
  6767. "500":
  6768. description: Internal Server Error
  6769. schema:
  6770. $ref: '#/definitions/app.Response'
  6771. security:
  6772. - ApiKeyAuth: []
  6773. summary: 通知公告系统消息查询
  6774. tags:
  6775. - 通用服务
  6776. /Common/QueryProvincesAndCities:
  6777. get:
  6778. parameters:
  6779. - description: 省ID
  6780. in: query
  6781. name: provinceID
  6782. type: integer
  6783. produces:
  6784. - application/json
  6785. responses:
  6786. "200":
  6787. description: OK
  6788. schema:
  6789. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  6790. "500":
  6791. description: Internal Server Error
  6792. schema:
  6793. $ref: '#/definitions/app.Response'
  6794. summary: 查询省市信息(不包括区)
  6795. tags:
  6796. - 通用服务
  6797. /Common/QueryTableDefine:
  6798. get:
  6799. parameters:
  6800. - description: 表key
  6801. in: query
  6802. name: tableKey
  6803. type: string
  6804. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  6805. in: query
  6806. name: tableType
  6807. type: integer
  6808. produces:
  6809. - application/json
  6810. responses:
  6811. "200":
  6812. description: OK
  6813. schema:
  6814. $ref: '#/definitions/common.QueryTableDefineRsp'
  6815. "500":
  6816. description: Internal Server Error
  6817. schema:
  6818. $ref: '#/definitions/app.Response'
  6819. summary: 查询交易端列表头信息
  6820. tags:
  6821. - 通用服务
  6822. /Common/QueryTraderMenu:
  6823. get:
  6824. parameters:
  6825. - description: 登录账号
  6826. in: query
  6827. name: loginid
  6828. required: true
  6829. type: integer
  6830. produces:
  6831. - application/json
  6832. responses:
  6833. "200":
  6834. description: OK
  6835. schema:
  6836. $ref: '#/definitions/common.QueryTraderMenuRsp'
  6837. "500":
  6838. description: Internal Server Error
  6839. schema:
  6840. $ref: '#/definitions/app.Response'
  6841. summary: 查询交易端菜单
  6842. tags:
  6843. - 通用服务
  6844. /Delivery/QueryDeliveryRelation:
  6845. get:
  6846. parameters:
  6847. - description: 商品ID
  6848. in: query
  6849. name: goodsid
  6850. type: integer
  6851. - description: 品种ID
  6852. in: query
  6853. name: deliverygoodsid
  6854. type: integer
  6855. - description: 市场ID
  6856. in: query
  6857. name: marketid
  6858. type: integer
  6859. produces:
  6860. - application/json
  6861. responses:
  6862. "200":
  6863. description: OK
  6864. schema:
  6865. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  6866. "500":
  6867. description: Internal Server Error
  6868. schema:
  6869. $ref: '#/definitions/app.Response'
  6870. security:
  6871. - ApiKeyAuth: []
  6872. summary: 查询商品交割关系表
  6873. tags:
  6874. - 交割服务
  6875. /Ermcp/QueryBusinessDj:
  6876. get:
  6877. parameters:
  6878. - description: 用户ID
  6879. in: query
  6880. name: UserId
  6881. required: true
  6882. type: integer
  6883. - description: 现货合同ID, 不填则查所有
  6884. in: query
  6885. name: relatedid
  6886. type: string
  6887. produces:
  6888. - application/json
  6889. responses:
  6890. "200":
  6891. description: OK
  6892. schema:
  6893. items:
  6894. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  6895. type: array
  6896. "500":
  6897. description: Internal Server Error
  6898. schema:
  6899. $ref: '#/definitions/app.Response'
  6900. security:
  6901. - ApiKeyAuth: []
  6902. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  6903. tags:
  6904. - 企业风险管理(app)
  6905. /Ermcp/QueryBusinessFp:
  6906. get:
  6907. parameters:
  6908. - description: 用户ID
  6909. in: query
  6910. name: UserId
  6911. required: true
  6912. type: integer
  6913. - description: 现货合同ID, 不填则查所有
  6914. in: query
  6915. name: relatedid
  6916. type: string
  6917. produces:
  6918. - application/json
  6919. responses:
  6920. "200":
  6921. description: OK
  6922. schema:
  6923. items:
  6924. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  6925. type: array
  6926. "500":
  6927. description: Internal Server Error
  6928. schema:
  6929. $ref: '#/definitions/app.Response'
  6930. security:
  6931. - ApiKeyAuth: []
  6932. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  6933. tags:
  6934. - 企业风险管理(app)
  6935. /Ermcp/QueryBusinessJs:
  6936. get:
  6937. parameters:
  6938. - description: 用户ID
  6939. in: query
  6940. name: UserId
  6941. required: true
  6942. type: integer
  6943. - description: 现货合同ID, 不填则查所有
  6944. in: query
  6945. name: relatedid
  6946. type: string
  6947. produces:
  6948. - application/json
  6949. responses:
  6950. "200":
  6951. description: OK
  6952. schema:
  6953. items:
  6954. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  6955. type: array
  6956. "500":
  6957. description: Internal Server Error
  6958. schema:
  6959. $ref: '#/definitions/app.Response'
  6960. security:
  6961. - ApiKeyAuth: []
  6962. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  6963. tags:
  6964. - 企业风险管理(app)
  6965. /Ermcp/QueryBusinessKx:
  6966. get:
  6967. parameters:
  6968. - description: 用户ID
  6969. in: query
  6970. name: UserId
  6971. required: true
  6972. type: integer
  6973. - description: 现货合同ID, 不填则查所有
  6974. in: query
  6975. name: relatedid
  6976. type: string
  6977. produces:
  6978. - application/json
  6979. responses:
  6980. "200":
  6981. description: OK
  6982. schema:
  6983. items:
  6984. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  6985. type: array
  6986. "500":
  6987. description: Internal Server Error
  6988. schema:
  6989. $ref: '#/definitions/app.Response'
  6990. security:
  6991. - ApiKeyAuth: []
  6992. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  6993. tags:
  6994. - 企业风险管理(app)
  6995. /Ermcp/QueryChangeLog:
  6996. get:
  6997. parameters:
  6998. - description: 用户ID
  6999. in: query
  7000. name: RelatedId
  7001. required: true
  7002. type: string
  7003. produces:
  7004. - application/json
  7005. responses:
  7006. "200":
  7007. description: OK
  7008. schema:
  7009. items:
  7010. $ref: '#/definitions/ermcp.QryOPLogRsp'
  7011. type: array
  7012. "500":
  7013. description: Internal Server Error
  7014. schema:
  7015. $ref: '#/definitions/app.Response'
  7016. security:
  7017. - ApiKeyAuth: []
  7018. summary: 查询变更记录
  7019. tags:
  7020. - 企业风险管理(app)
  7021. /Ermcp/QueryContract:
  7022. get:
  7023. parameters:
  7024. - description: 用户ID
  7025. in: query
  7026. name: userId
  7027. required: true
  7028. type: integer
  7029. - description: 合同类型 1-采购, -1-销售
  7030. in: query
  7031. name: contracttype
  7032. required: true
  7033. type: integer
  7034. - description: 查询类型 1-全部 2-待点价 3-履约结算
  7035. in: query
  7036. name: querytype
  7037. required: true
  7038. type: integer
  7039. produces:
  7040. - application/json
  7041. responses:
  7042. "200":
  7043. description: OK
  7044. schema:
  7045. items:
  7046. $ref: '#/definitions/ermcp.QryErmcpRsp'
  7047. type: array
  7048. "500":
  7049. description: Internal Server Error
  7050. schema:
  7051. $ref: '#/definitions/app.Response'
  7052. security:
  7053. - ApiKeyAuth: []
  7054. summary: 查询合同(采购和销售)
  7055. tags:
  7056. - 企业风险管理(app)
  7057. /Ermcp/QueryExposureDetail:
  7058. get:
  7059. parameters:
  7060. - description: 所属机构ID
  7061. in: query
  7062. name: areaUserId
  7063. required: true
  7064. type: integer
  7065. - description: 套保商品
  7066. in: query
  7067. name: middleGoodsId
  7068. required: true
  7069. type: integer
  7070. produces:
  7071. - application/json
  7072. responses:
  7073. "200":
  7074. description: OK
  7075. schema:
  7076. items:
  7077. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  7078. type: array
  7079. "500":
  7080. description: Internal Server Error
  7081. schema:
  7082. $ref: '#/definitions/app.Response'
  7083. security:
  7084. - ApiKeyAuth: []
  7085. summary: 查询敞口现货明细
  7086. tags:
  7087. - 企业风险管理(app)
  7088. /Ermcp/QueryExposureSpot:
  7089. get:
  7090. parameters:
  7091. - description: 所属机构ID
  7092. in: query
  7093. name: areaUserId
  7094. required: true
  7095. type: integer
  7096. produces:
  7097. - application/json
  7098. responses:
  7099. "200":
  7100. description: OK
  7101. schema:
  7102. items:
  7103. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  7104. type: array
  7105. "500":
  7106. description: Internal Server Error
  7107. schema:
  7108. $ref: '#/definitions/app.Response'
  7109. security:
  7110. - ApiKeyAuth: []
  7111. summary: 查询敞口现货头寸(敞口/现货头寸)
  7112. tags:
  7113. - 企业风险管理(app)
  7114. /Ermcp/QueryHedgePlan:
  7115. get:
  7116. parameters:
  7117. - description: 用户ID
  7118. in: query
  7119. name: userId
  7120. required: true
  7121. type: integer
  7122. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7123. in: query
  7124. name: HedgePlanStatus
  7125. required: true
  7126. type: string
  7127. produces:
  7128. - application/json
  7129. responses:
  7130. "200":
  7131. description: OK
  7132. schema:
  7133. items:
  7134. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  7135. type: array
  7136. "500":
  7137. description: Internal Server Error
  7138. schema:
  7139. $ref: '#/definitions/app.Response'
  7140. security:
  7141. - ApiKeyAuth: []
  7142. summary: 查询套保计划
  7143. tags:
  7144. - 企业风险管理(app)
  7145. /Ermcp/QueryRealtimeExposure:
  7146. get:
  7147. parameters:
  7148. - description: 所属机构ID
  7149. in: query
  7150. name: AreaUserID
  7151. required: true
  7152. type: integer
  7153. produces:
  7154. - application/json
  7155. responses:
  7156. "200":
  7157. description: OK
  7158. schema:
  7159. items:
  7160. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  7161. type: array
  7162. "500":
  7163. description: Internal Server Error
  7164. schema:
  7165. $ref: '#/definitions/app.Response'
  7166. security:
  7167. - ApiKeyAuth: []
  7168. summary: 查询实时敞口
  7169. tags:
  7170. - 企业风险管理(app)
  7171. /Ermcp/QuerySpotContract:
  7172. get:
  7173. parameters:
  7174. - description: 用户ID
  7175. in: query
  7176. name: userId
  7177. required: true
  7178. type: integer
  7179. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  7180. in: query
  7181. name: QueryType
  7182. required: true
  7183. type: integer
  7184. produces:
  7185. - application/json
  7186. responses:
  7187. "200":
  7188. description: OK
  7189. schema:
  7190. items:
  7191. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  7192. type: array
  7193. "500":
  7194. description: Internal Server Error
  7195. schema:
  7196. $ref: '#/definitions/app.Response'
  7197. security:
  7198. - ApiKeyAuth: []
  7199. summary: 查询现货合同(对应现货合同菜单)
  7200. tags:
  7201. - 企业风险管理(app)
  7202. /Ermcp/QueryUserInfo:
  7203. get:
  7204. parameters:
  7205. - description: 所属机构用户ID
  7206. in: query
  7207. name: MemberUserID
  7208. required: true
  7209. type: integer
  7210. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  7211. in: query
  7212. name: queryType
  7213. required: true
  7214. type: integer
  7215. produces:
  7216. - application/json
  7217. responses:
  7218. "200":
  7219. description: OK
  7220. schema:
  7221. items:
  7222. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  7223. type: array
  7224. "500":
  7225. description: Internal Server Error
  7226. schema:
  7227. $ref: '#/definitions/app.Response'
  7228. security:
  7229. - ApiKeyAuth: []
  7230. summary: 查询客户资料
  7231. tags:
  7232. - 企业风险管理(app)
  7233. /Ermcp/QueryWrStandard:
  7234. get:
  7235. parameters:
  7236. - description: 所属机构ID
  7237. in: query
  7238. name: userid
  7239. required: true
  7240. type: integer
  7241. produces:
  7242. - application/json
  7243. responses:
  7244. "200":
  7245. description: OK
  7246. schema:
  7247. items:
  7248. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  7249. type: array
  7250. "500":
  7251. description: Internal Server Error
  7252. schema:
  7253. $ref: '#/definitions/app.Response'
  7254. security:
  7255. - ApiKeyAuth: []
  7256. summary: 查询现货商品
  7257. tags:
  7258. - 企业风险管理(app)
  7259. /Erms2/QueryArbitrageStrategy:
  7260. get:
  7261. parameters:
  7262. - description: 账户ID
  7263. in: query
  7264. name: userid
  7265. required: true
  7266. type: integer
  7267. - description: 商品组ID(品种ID)
  7268. in: query
  7269. name: goodsgroupid
  7270. type: string
  7271. produces:
  7272. - application/json
  7273. responses:
  7274. "200":
  7275. description: OK
  7276. schema:
  7277. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  7278. "500":
  7279. description: Internal Server Error
  7280. schema:
  7281. $ref: '#/definitions/app.Response'
  7282. security:
  7283. - ApiKeyAuth: []
  7284. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  7285. tags:
  7286. - 风险管理
  7287. /Erms2/QueryInnerTradeDetail:
  7288. get:
  7289. parameters:
  7290. - description: 资金账户
  7291. in: query
  7292. name: accountid
  7293. required: true
  7294. type: integer
  7295. produces:
  7296. - application/json
  7297. responses:
  7298. "200":
  7299. description: OK
  7300. schema:
  7301. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  7302. "500":
  7303. description: Internal Server Error
  7304. schema:
  7305. $ref: '#/definitions/app.Response'
  7306. security:
  7307. - ApiKeyAuth: []
  7308. summary: 查询内部成交单信息
  7309. tags:
  7310. - 风险管理
  7311. /Erms2/QuerySpotContract:
  7312. get:
  7313. parameters:
  7314. - description: 策略申请ID
  7315. in: query
  7316. name: asapplyid
  7317. required: true
  7318. type: integer
  7319. - description: 现货合同ID
  7320. in: query
  7321. name: spotcontractid
  7322. type: integer
  7323. produces:
  7324. - application/json
  7325. responses:
  7326. "200":
  7327. description: OK
  7328. schema:
  7329. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  7330. "500":
  7331. description: Internal Server Error
  7332. schema:
  7333. $ref: '#/definitions/app.Response'
  7334. security:
  7335. - ApiKeyAuth: []
  7336. summary: 查询现货合同表信息(指定策略ID、未结束的)
  7337. tags:
  7338. - 风险管理
  7339. /Erms3/AddErms2ASApply:
  7340. post:
  7341. parameters:
  7342. - description: 申请参数
  7343. in: body
  7344. name: jsonBody
  7345. required: true
  7346. schema:
  7347. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  7348. produces:
  7349. - application/json
  7350. responses:
  7351. "200":
  7352. description: OK
  7353. schema:
  7354. $ref: '#/definitions/app.Response'
  7355. "500":
  7356. description: Internal Server Error
  7357. schema:
  7358. $ref: '#/definitions/app.Response'
  7359. security:
  7360. - ApiKeyAuth: []
  7361. summary: 新增期现套利业务申请
  7362. tags:
  7363. - 风险管理v3
  7364. /Erms3/AddErms2SpotTradeApply:
  7365. post:
  7366. parameters:
  7367. - description: 申请参数
  7368. in: body
  7369. name: jsonBody
  7370. required: true
  7371. schema:
  7372. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  7373. produces:
  7374. - application/json
  7375. responses:
  7376. "200":
  7377. description: OK
  7378. schema:
  7379. $ref: '#/definitions/app.Response'
  7380. "500":
  7381. description: Internal Server Error
  7382. schema:
  7383. $ref: '#/definitions/app.Response'
  7384. security:
  7385. - ApiKeyAuth: []
  7386. summary: 新增现货贸易业务申请
  7387. tags:
  7388. - 风险管理v3
  7389. /Erms3/AddSpotContractApply:
  7390. post:
  7391. parameters:
  7392. - description: 申请参数
  7393. in: body
  7394. name: jsonBody
  7395. required: true
  7396. schema:
  7397. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  7398. produces:
  7399. - application/json
  7400. responses:
  7401. "200":
  7402. description: OK
  7403. schema:
  7404. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  7405. "500":
  7406. description: Internal Server Error
  7407. schema:
  7408. $ref: '#/definitions/app.Response'
  7409. security:
  7410. - ApiKeyAuth: []
  7411. summary: 新增现货合同申请
  7412. tags:
  7413. - 风险管理v3
  7414. /Erms3/AddUserInfoApply:
  7415. post:
  7416. parameters:
  7417. - description: 申请参数
  7418. in: body
  7419. name: jsonBody
  7420. required: true
  7421. schema:
  7422. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  7423. produces:
  7424. - application/json
  7425. responses:
  7426. "200":
  7427. description: OK
  7428. schema:
  7429. $ref: '#/definitions/app.Response'
  7430. "500":
  7431. description: Internal Server Error
  7432. schema:
  7433. $ref: '#/definitions/app.Response'
  7434. security:
  7435. - ApiKeyAuth: []
  7436. summary: 新增客户申请
  7437. tags:
  7438. - 风险管理v3
  7439. /Erms3/QueryBusinessInfo:
  7440. get:
  7441. parameters:
  7442. - description: 资金账号ID列表,用逗号分隔
  7443. in: query
  7444. name: accountids
  7445. required: true
  7446. type: string
  7447. - description: 状态,0为未结束 1为已结束
  7448. in: query
  7449. name: status
  7450. required: true
  7451. type: integer
  7452. produces:
  7453. - application/json
  7454. responses:
  7455. "200":
  7456. description: OK
  7457. schema:
  7458. items:
  7459. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  7460. type: array
  7461. "500":
  7462. description: Internal Server Error
  7463. schema:
  7464. $ref: '#/definitions/app.Response'
  7465. security:
  7466. - ApiKeyAuth: []
  7467. summary: 查询业务表单数据
  7468. tags:
  7469. - 风险管理v3
  7470. /Erms3/QueryPendingAuditContract:
  7471. get:
  7472. parameters:
  7473. - description: 资金账号ID列表,逗号隔开
  7474. in: query
  7475. name: accountids
  7476. required: true
  7477. type: string
  7478. - description: 合同类型 1-采购 -1-销售
  7479. in: query
  7480. name: contracttype
  7481. required: true
  7482. type: integer
  7483. - description: 合同模式 1-普通 2-回购
  7484. in: query
  7485. name: contractmode
  7486. required: true
  7487. type: integer
  7488. produces:
  7489. - application/json
  7490. responses:
  7491. "200":
  7492. description: OK
  7493. schema:
  7494. items:
  7495. $ref: '#/definitions/erms3.QryAuditContractRsp'
  7496. type: array
  7497. "500":
  7498. description: Internal Server Error
  7499. schema:
  7500. $ref: '#/definitions/app.Response'
  7501. security:
  7502. - ApiKeyAuth: []
  7503. summary: 查询待审核合同
  7504. tags:
  7505. - 风险管理v3
  7506. /Erms3/QueryPendingBusiness:
  7507. get:
  7508. parameters:
  7509. - description: 资金账号ID列表,逗号隔开
  7510. in: query
  7511. name: accountids
  7512. required: true
  7513. type: string
  7514. produces:
  7515. - application/json
  7516. responses:
  7517. "200":
  7518. description: OK
  7519. schema:
  7520. items:
  7521. $ref: '#/definitions/erms3.QryPendingBizRsp'
  7522. type: array
  7523. "500":
  7524. description: Internal Server Error
  7525. schema:
  7526. $ref: '#/definitions/app.Response'
  7527. security:
  7528. - ApiKeyAuth: []
  7529. summary: 查询待审核基差贸易业务
  7530. tags:
  7531. - 风险管理v3
  7532. /Erms3/QuerySpotContractAppleForm:
  7533. get:
  7534. parameters:
  7535. - description: 登录账号
  7536. in: query
  7537. name: loginID
  7538. required: true
  7539. type: integer
  7540. produces:
  7541. - application/json
  7542. responses:
  7543. "200":
  7544. description: OK
  7545. schema:
  7546. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  7547. "500":
  7548. description: Internal Server Error
  7549. schema:
  7550. $ref: '#/definitions/app.Response'
  7551. security:
  7552. - ApiKeyAuth: []
  7553. summary: 查询合同申请表单数据
  7554. tags:
  7555. - 风险管理v3
  7556. /Erms3/QuerySpotContractDetail:
  7557. get:
  7558. parameters:
  7559. - description: 资金账号ID列表,用逗号分隔
  7560. in: query
  7561. name: accountids
  7562. required: true
  7563. type: string
  7564. - description: 合同类型,1为采购合同 -1为销售合同
  7565. in: query
  7566. name: contracttype
  7567. required: true
  7568. type: integer
  7569. - description: 合同模式,1为普通合同 2为回购销售合同
  7570. in: query
  7571. name: contractmode
  7572. required: true
  7573. type: integer
  7574. - description: 状态,0为履约中 1为已完成
  7575. in: query
  7576. name: status
  7577. required: true
  7578. type: integer
  7579. produces:
  7580. - application/json
  7581. responses:
  7582. "200":
  7583. description: OK
  7584. schema:
  7585. items:
  7586. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  7587. type: array
  7588. "500":
  7589. description: Internal Server Error
  7590. schema:
  7591. $ref: '#/definitions/app.Response'
  7592. security:
  7593. - ApiKeyAuth: []
  7594. summary: 查询合同详细信息
  7595. tags:
  7596. - 风险管理v3
  7597. /Erms3/QueryUserInfoApplies:
  7598. get:
  7599. parameters:
  7600. - description: 页码
  7601. in: query
  7602. name: page
  7603. type: integer
  7604. - description: 每页条数
  7605. in: query
  7606. name: pagesize
  7607. type: integer
  7608. - description: 客户名称,支持模糊查询
  7609. in: query
  7610. name: userName
  7611. type: string
  7612. produces:
  7613. - application/json
  7614. responses:
  7615. "200":
  7616. description: OK
  7617. schema:
  7618. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  7619. "500":
  7620. description: Internal Server Error
  7621. schema:
  7622. $ref: '#/definitions/app.Response'
  7623. security:
  7624. - ApiKeyAuth: []
  7625. summary: 客户申请信息查询
  7626. tags:
  7627. - 风险管理v3
  7628. /Erms3/QueryUserInfos:
  7629. get:
  7630. parameters:
  7631. - description: 页码
  7632. in: query
  7633. name: page
  7634. type: integer
  7635. - description: 每页条数
  7636. in: query
  7637. name: pagesize
  7638. type: integer
  7639. - description: 客户名称,支持模糊查询
  7640. in: query
  7641. name: userName
  7642. type: string
  7643. produces:
  7644. - application/json
  7645. responses:
  7646. "200":
  7647. description: OK
  7648. schema:
  7649. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  7650. "500":
  7651. description: Internal Server Error
  7652. schema:
  7653. $ref: '#/definitions/app.Response'
  7654. security:
  7655. - ApiKeyAuth: []
  7656. summary: 客户信息查询
  7657. tags:
  7658. - 风险管理v3
  7659. /HSBY/GetHsbyMyCount:
  7660. get:
  7661. description: 说明: 不包括已完成的数量。
  7662. parameters:
  7663. - description: 资金账户列表,格式:1,2,3
  7664. in: query
  7665. name: accountIDs
  7666. required: true
  7667. type: string
  7668. produces:
  7669. - application/json
  7670. responses:
  7671. "200":
  7672. description: OK
  7673. schema:
  7674. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  7675. "500":
  7676. description: Internal Server Error
  7677. schema:
  7678. $ref: '#/definitions/app.Response'
  7679. security:
  7680. - ApiKeyAuth: []
  7681. summary: 获取我的订单与包裹数量
  7682. tags:
  7683. - 定制【海商报业】
  7684. /HSBY/QueryClientFixedADConfigs:
  7685. get:
  7686. produces:
  7687. - application/json
  7688. responses:
  7689. "200":
  7690. description: OK
  7691. schema:
  7692. $ref: '#/definitions/models.Clientfixedadconfig'
  7693. "500":
  7694. description: Internal Server Error
  7695. schema:
  7696. $ref: '#/definitions/app.Response'
  7697. security:
  7698. - ApiKeyAuth: []
  7699. summary: 获取终端固定广告配置
  7700. tags:
  7701. - 定制【海商报业】
  7702. /HSBY/QueryHsbyBuyMyTradeDetail:
  7703. get:
  7704. parameters:
  7705. - description: 页码
  7706. in: query
  7707. name: page
  7708. type: integer
  7709. - description: 每页条数
  7710. in: query
  7711. name: pagesize
  7712. type: integer
  7713. - description: 资金账户列表,格式:1,2,3
  7714. in: query
  7715. name: accountIDs
  7716. required: true
  7717. type: string
  7718. produces:
  7719. - application/json
  7720. responses:
  7721. "200":
  7722. description: OK
  7723. schema:
  7724. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  7725. "500":
  7726. description: Internal Server Error
  7727. schema:
  7728. $ref: '#/definitions/app.Response'
  7729. security:
  7730. - ApiKeyAuth: []
  7731. summary: 查询"我的订单 - 已完成"单据信息
  7732. tags:
  7733. - 定制【海商报业】
  7734. /HSBY/QueryHsbyGoodsOrderDetails:
  7735. get:
  7736. description: 说明:查询结果已按委托价格和委托时间排序
  7737. parameters:
  7738. - description: 商品ID
  7739. in: query
  7740. name: goodsID
  7741. required: true
  7742. type: integer
  7743. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  7744. in: query
  7745. name: accountIDs
  7746. type: string
  7747. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  7748. in: query
  7749. name: buyOrSell
  7750. type: integer
  7751. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  7752. in: query
  7753. name: price
  7754. type: number
  7755. - description: 档位,不传则默认为3档
  7756. in: query
  7757. name: speed
  7758. type: integer
  7759. produces:
  7760. - application/json
  7761. responses:
  7762. "200":
  7763. description: OK
  7764. schema:
  7765. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  7766. "500":
  7767. description: Internal Server Error
  7768. schema:
  7769. $ref: '#/definitions/app.Response'
  7770. security:
  7771. - ApiKeyAuth: []
  7772. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  7773. tags:
  7774. - 定制【海商报业】
  7775. /HSBY/QueryHsbyListingGoodsDetail:
  7776. get:
  7777. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  7778. parameters:
  7779. - description: 商品ID
  7780. in: query
  7781. name: goodsID
  7782. required: true
  7783. type: integer
  7784. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  7785. in: query
  7786. name: accountID
  7787. type: integer
  7788. produces:
  7789. - application/json
  7790. responses:
  7791. "200":
  7792. description: OK
  7793. schema:
  7794. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  7795. "500":
  7796. description: Internal Server Error
  7797. schema:
  7798. $ref: '#/definitions/app.Response'
  7799. security:
  7800. - ApiKeyAuth: []
  7801. summary: 查询二级市场(挂牌点选)商品信息详情
  7802. tags:
  7803. - 定制【海商报业】
  7804. /HSBY/QueryHsbyMarketGoodsDetail:
  7805. get:
  7806. parameters:
  7807. - description: 委托单号
  7808. in: query
  7809. name: orderID
  7810. required: true
  7811. type: integer
  7812. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  7813. in: query
  7814. name: accountID
  7815. type: integer
  7816. produces:
  7817. - application/json
  7818. responses:
  7819. "200":
  7820. description: OK
  7821. schema:
  7822. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  7823. "500":
  7824. description: Internal Server Error
  7825. schema:
  7826. $ref: '#/definitions/app.Response'
  7827. security:
  7828. - ApiKeyAuth: []
  7829. summary: 查询三级市场(商城)商品信息详情
  7830. tags:
  7831. - 定制【海商报业】
  7832. /HSBY/QueryHsbyMarketGoodses:
  7833. get:
  7834. parameters:
  7835. - description: 页码
  7836. in: query
  7837. name: page
  7838. type: integer
  7839. - description: 每页条数
  7840. in: query
  7841. name: pagesize
  7842. type: integer
  7843. - description: 市场ID列表,格式:1,2,3
  7844. in: query
  7845. name: marketIDs
  7846. required: true
  7847. type: string
  7848. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  7849. in: query
  7850. name: accountID
  7851. required: true
  7852. type: integer
  7853. - description: 类别ID
  7854. in: query
  7855. name: categoryID
  7856. type: integer
  7857. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  7858. in: query
  7859. name: goodsIDs
  7860. type: string
  7861. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  7862. in: query
  7863. name: couponTypeID
  7864. type: integer
  7865. produces:
  7866. - application/json
  7867. responses:
  7868. "200":
  7869. description: OK
  7870. schema:
  7871. $ref: '#/definitions/models.HsbyMarketGoods'
  7872. "500":
  7873. description: Internal Server Error
  7874. schema:
  7875. $ref: '#/definitions/app.Response'
  7876. security:
  7877. - ApiKeyAuth: []
  7878. summary: 查询特卖商品列表(三级商城)
  7879. tags:
  7880. - 定制【海商报业】
  7881. /HSBY/QueryHsbyMarkets:
  7882. get:
  7883. produces:
  7884. - application/json
  7885. responses:
  7886. "200":
  7887. description: OK
  7888. schema:
  7889. $ref: '#/definitions/models.HsbyMarketInfo'
  7890. "500":
  7891. description: Internal Server Error
  7892. schema:
  7893. $ref: '#/definitions/app.Response'
  7894. security:
  7895. - ApiKeyAuth: []
  7896. summary: 查询海商报业相关市场信息
  7897. tags:
  7898. - 定制【海商报业】
  7899. /HSBY/QueryHsbyMyBuyOrderDetails:
  7900. get:
  7901. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  7902. parameters:
  7903. - description: 资金账户列表,格式:1,2,3
  7904. in: query
  7905. name: accountIDs
  7906. required: true
  7907. type: string
  7908. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  7909. in: query
  7910. name: myBuyStatus
  7911. type: integer
  7912. produces:
  7913. - application/json
  7914. responses:
  7915. "200":
  7916. description: OK
  7917. schema:
  7918. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  7919. "500":
  7920. description: Internal Server Error
  7921. schema:
  7922. $ref: '#/definitions/app.Response'
  7923. security:
  7924. - ApiKeyAuth: []
  7925. summary: 查询“我的订单”信息
  7926. tags:
  7927. - 定制【海商报业】
  7928. /HSBY/QueryHsbyMyGoods:
  7929. get:
  7930. parameters:
  7931. - description: 资金账户列表,格式:1,2,3
  7932. in: query
  7933. name: accountIDs
  7934. required: true
  7935. type: string
  7936. produces:
  7937. - application/json
  7938. responses:
  7939. "200":
  7940. description: OK
  7941. schema:
  7942. $ref: '#/definitions/models.HsbyMyGoods'
  7943. "500":
  7944. description: Internal Server Error
  7945. schema:
  7946. $ref: '#/definitions/app.Response'
  7947. security:
  7948. - ApiKeyAuth: []
  7949. summary: 查询“我的商品”信息
  7950. tags:
  7951. - 定制【海商报业】
  7952. /HSBY/QueryHsbyMyPackages:
  7953. get:
  7954. parameters:
  7955. - description: 资金账户列表,格式:1,2,3
  7956. in: query
  7957. name: accountIDs
  7958. required: true
  7959. type: string
  7960. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7961. in: query
  7962. name: takeOrderStatus
  7963. type: integer
  7964. produces:
  7965. - application/json
  7966. responses:
  7967. "200":
  7968. description: OK
  7969. schema:
  7970. $ref: '#/definitions/models.HsbyMyPackage'
  7971. "500":
  7972. description: Internal Server Error
  7973. schema:
  7974. $ref: '#/definitions/app.Response'
  7975. security:
  7976. - ApiKeyAuth: []
  7977. summary: 查询我的包裹信息
  7978. tags:
  7979. - 定制【海商报业】
  7980. /HSBY/QueryHsbyPreGoodsDetail:
  7981. get:
  7982. parameters:
  7983. - description: 商品ID
  7984. in: query
  7985. name: goodsID
  7986. required: true
  7987. type: integer
  7988. - description: 资金账户,主要用于获取预售商品购买上限
  7989. in: query
  7990. name: accountID
  7991. type: integer
  7992. produces:
  7993. - application/json
  7994. responses:
  7995. "200":
  7996. description: OK
  7997. schema:
  7998. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  7999. "500":
  8000. description: Internal Server Error
  8001. schema:
  8002. $ref: '#/definitions/app.Response'
  8003. security:
  8004. - ApiKeyAuth: []
  8005. summary: 查询一级市场(预售)商品信息详情
  8006. tags:
  8007. - 定制【海商报业】
  8008. /HSBY/QueryHsbyPreGoodses:
  8009. get:
  8010. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  8011. parameters:
  8012. - description: 页码
  8013. in: query
  8014. name: page
  8015. type: integer
  8016. - description: 每页条数
  8017. in: query
  8018. name: pagesize
  8019. type: integer
  8020. - description: 市场ID列表,格式:1,2,3
  8021. in: query
  8022. name: marketIDs
  8023. required: true
  8024. type: string
  8025. - description: 目的地(省)ID
  8026. in: query
  8027. name: descProvinceID
  8028. type: integer
  8029. - description: 目的地(市)ID
  8030. in: query
  8031. name: descCityID
  8032. type: integer
  8033. produces:
  8034. - application/json
  8035. responses:
  8036. "200":
  8037. description: OK
  8038. schema:
  8039. $ref: '#/definitions/models.HsbyPreGoods'
  8040. "500":
  8041. description: Internal Server Error
  8042. schema:
  8043. $ref: '#/definitions/app.Response'
  8044. security:
  8045. - ApiKeyAuth: []
  8046. summary: 查询新品上市商品列表(一级市场预售)
  8047. tags:
  8048. - 定制【海商报业】
  8049. /HSBY/QueryHsbySellMyDetails:
  8050. get:
  8051. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  8052. parameters:
  8053. - description: 页码
  8054. in: query
  8055. name: page
  8056. type: integer
  8057. - description: 每页条数
  8058. in: query
  8059. name: pagesize
  8060. type: integer
  8061. - description: 资金账户列表,格式:1,2,3
  8062. in: query
  8063. name: accountIDs
  8064. required: true
  8065. type: string
  8066. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  8067. in: query
  8068. name: orderType
  8069. type: integer
  8070. produces:
  8071. - application/json
  8072. responses:
  8073. "200":
  8074. description: OK
  8075. schema:
  8076. $ref: '#/definitions/models.HsbySellMyDetail'
  8077. "500":
  8078. description: Internal Server Error
  8079. schema:
  8080. $ref: '#/definitions/app.Response'
  8081. security:
  8082. - ApiKeyAuth: []
  8083. summary: 查询"我的闲置"单据信息
  8084. tags:
  8085. - 定制【海商报业】
  8086. /HSBY/QueryHsbyTopGoodses:
  8087. get:
  8088. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  8089. parameters:
  8090. - description: 页码
  8091. in: query
  8092. name: page
  8093. type: integer
  8094. - description: 每页条数
  8095. in: query
  8096. name: pagesize
  8097. type: integer
  8098. - description: 市场ID列表,格式:1,2,3
  8099. in: query
  8100. name: marketIDs
  8101. required: true
  8102. type: string
  8103. - description: 目的地(省)ID
  8104. in: query
  8105. name: descProvinceID
  8106. type: integer
  8107. - description: 目的地(市)ID
  8108. in: query
  8109. name: descCityID
  8110. type: integer
  8111. produces:
  8112. - application/json
  8113. responses:
  8114. "200":
  8115. description: OK
  8116. schema:
  8117. $ref: '#/definitions/models.HsbyTopGoods'
  8118. "500":
  8119. description: Internal Server Error
  8120. schema:
  8121. $ref: '#/definitions/app.Response'
  8122. security:
  8123. - ApiKeyAuth: []
  8124. summary: 查询热卖商品列表(二级市场挂牌点选)
  8125. tags:
  8126. - 定制【海商报业】
  8127. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  8128. get:
  8129. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  8130. parameters:
  8131. - description: 商品ID
  8132. in: query
  8133. name: goodsID
  8134. required: true
  8135. type: integer
  8136. produces:
  8137. - application/json
  8138. responses:
  8139. "200":
  8140. description: OK
  8141. schema:
  8142. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  8143. "500":
  8144. description: Internal Server Error
  8145. schema:
  8146. $ref: '#/definitions/app.Response'
  8147. security:
  8148. - ApiKeyAuth: []
  8149. summary: 查询游客三级市场(商城)商品信息详情
  8150. tags:
  8151. - 定制【海商报业】
  8152. /HSBY/QueryHsbyVisitorMarketGoodses:
  8153. get:
  8154. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  8155. parameters:
  8156. - description: 页码
  8157. in: query
  8158. name: page
  8159. type: integer
  8160. - description: 每页条数
  8161. in: query
  8162. name: pagesize
  8163. type: integer
  8164. - description: 市场ID列表,格式:1,2,3
  8165. in: query
  8166. name: marketIDs
  8167. required: true
  8168. type: string
  8169. - description: 类别ID
  8170. in: query
  8171. name: categoryID
  8172. type: integer
  8173. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  8174. in: query
  8175. name: goodsIDs
  8176. type: string
  8177. produces:
  8178. - application/json
  8179. responses:
  8180. "200":
  8181. description: OK
  8182. schema:
  8183. $ref: '#/definitions/models.HsbyMarketGoods'
  8184. "500":
  8185. description: Internal Server Error
  8186. schema:
  8187. $ref: '#/definitions/app.Response'
  8188. security:
  8189. - ApiKeyAuth: []
  8190. summary: 查询游客特卖商品列表(三级商城)
  8191. tags:
  8192. - 定制【海商报业】
  8193. /HSBY/QueryMyCollectionOrders:
  8194. get:
  8195. parameters:
  8196. - description: 页码
  8197. in: query
  8198. name: page
  8199. type: integer
  8200. - description: 每页条数
  8201. in: query
  8202. name: pagesize
  8203. type: integer
  8204. - description: 资金账户,格式:1,2,3
  8205. in: query
  8206. name: accountIDs
  8207. required: true
  8208. type: string
  8209. produces:
  8210. - application/json
  8211. responses:
  8212. "200":
  8213. description: OK
  8214. schema:
  8215. $ref: '#/definitions/models.HsbySellCollectionOrder'
  8216. "500":
  8217. description: Internal Server Error
  8218. schema:
  8219. $ref: '#/definitions/app.Response'
  8220. security:
  8221. - ApiKeyAuth: []
  8222. summary: 我的闲置中收款信息查询
  8223. tags:
  8224. - 定制【海商报业】
  8225. /HSBY/QueryMyCouponHolds:
  8226. get:
  8227. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  8228. parameters:
  8229. - description: 资金账户列表,格式:1,2,3
  8230. in: query
  8231. name: accountIDs
  8232. required: true
  8233. type: string
  8234. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  8235. in: query
  8236. name: holdStatus
  8237. type: string
  8238. produces:
  8239. - application/json
  8240. responses:
  8241. "200":
  8242. description: OK
  8243. schema:
  8244. $ref: '#/definitions/models.MyCouponHold'
  8245. "500":
  8246. description: Internal Server Error
  8247. schema:
  8248. $ref: '#/definitions/app.Response'
  8249. security:
  8250. - ApiKeyAuth: []
  8251. summary: 我的优惠卷持仓查询
  8252. tags:
  8253. - 定制【海商报业】
  8254. /HSBY/QueryMyCoupons:
  8255. get:
  8256. parameters:
  8257. - description: 资金账户列表,格式:1,2,3
  8258. in: query
  8259. name: accountIDs
  8260. required: true
  8261. type: string
  8262. - description: 商品ID, 一般与sellUserID配套传入
  8263. in: query
  8264. name: goodsID
  8265. type: integer
  8266. - description: 卖方UserID
  8267. in: query
  8268. name: sellUserID
  8269. type: integer
  8270. produces:
  8271. - application/json
  8272. responses:
  8273. "200":
  8274. description: OK
  8275. schema:
  8276. $ref: '#/definitions/models.MyCoupon'
  8277. "500":
  8278. description: Internal Server Error
  8279. schema:
  8280. $ref: '#/definitions/app.Response'
  8281. security:
  8282. - ApiKeyAuth: []
  8283. summary: 我的优惠卷查询
  8284. tags:
  8285. - 定制【海商报业】
  8286. /HSBY/QueryMyPayOrders:
  8287. get:
  8288. parameters:
  8289. - description: 页码
  8290. in: query
  8291. name: page
  8292. type: integer
  8293. - description: 每页条数
  8294. in: query
  8295. name: pagesize
  8296. type: integer
  8297. - description: 资金账户列表,格式:1,2,3
  8298. in: query
  8299. name: accountIDs
  8300. required: true
  8301. type: string
  8302. - description: 买方委托单号
  8303. in: query
  8304. name: buyOrderID
  8305. type: integer
  8306. - description: 卖方委托单号
  8307. in: query
  8308. name: sellOrderID
  8309. type: integer
  8310. produces:
  8311. - application/json
  8312. responses:
  8313. "200":
  8314. description: OK
  8315. schema:
  8316. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  8317. "500":
  8318. description: Internal Server Error
  8319. schema:
  8320. $ref: '#/definitions/app.Response'
  8321. security:
  8322. - ApiKeyAuth: []
  8323. summary: 获取我的订单中待付款信息
  8324. tags:
  8325. - 定制【海商报业】
  8326. /HSBY/QueryMyUsedCoupon:
  8327. get:
  8328. parameters:
  8329. - description: 资金账户列表,格式:1,2,3
  8330. in: query
  8331. name: accountIDs
  8332. required: true
  8333. type: string
  8334. produces:
  8335. - application/json
  8336. responses:
  8337. "200":
  8338. description: OK
  8339. schema:
  8340. $ref: '#/definitions/models.MyUsedCoupon'
  8341. "500":
  8342. description: Internal Server Error
  8343. schema:
  8344. $ref: '#/definitions/app.Response'
  8345. security:
  8346. - ApiKeyAuth: []
  8347. summary: 已使用优惠卷查询
  8348. tags:
  8349. - 定制【海商报业】
  8350. /HSBY/QueryProvincesAndCities:
  8351. get:
  8352. description: 查询结果只包括二级市场商品已关连的省市信息。
  8353. parameters:
  8354. - description: 省ID
  8355. in: query
  8356. name: provinceID
  8357. type: integer
  8358. produces:
  8359. - application/json
  8360. responses:
  8361. "200":
  8362. description: OK
  8363. schema:
  8364. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  8365. "500":
  8366. description: Internal Server Error
  8367. schema:
  8368. $ref: '#/definitions/app.Response'
  8369. security:
  8370. - ApiKeyAuth: []
  8371. summary: 查询省市信息(不包括区)
  8372. tags:
  8373. - 定制【海商报业】
  8374. /HSBY/SetHsbyMyPackagesStatus:
  8375. post:
  8376. parameters:
  8377. - description: 提货单号
  8378. in: query
  8379. name: takeOrderID
  8380. required: true
  8381. type: string
  8382. - description: 资金账号
  8383. in: query
  8384. name: accountID
  8385. required: true
  8386. type: integer
  8387. produces:
  8388. - application/json
  8389. responses:
  8390. "200":
  8391. description: OK
  8392. schema:
  8393. $ref: '#/definitions/app.Response'
  8394. "500":
  8395. description: Internal Server Error
  8396. schema:
  8397. $ref: '#/definitions/app.Response'
  8398. security:
  8399. - ApiKeyAuth: []
  8400. summary: 设置我的包裹已收货状态
  8401. tags:
  8402. - 定制【海商报业】
  8403. /Market/QueryMarketRun:
  8404. get:
  8405. parameters:
  8406. - description: 市场ID,不传返回所有
  8407. in: query
  8408. name: marketID
  8409. type: integer
  8410. produces:
  8411. - application/json
  8412. responses:
  8413. "200":
  8414. description: OK
  8415. schema:
  8416. $ref: '#/definitions/models.Marketrun'
  8417. "500":
  8418. description: Internal Server Error
  8419. schema:
  8420. $ref: '#/definitions/app.Response'
  8421. security:
  8422. - ApiKeyAuth: []
  8423. summary: 查询市场运行信息
  8424. tags:
  8425. - 通用市场
  8426. /Order/QueryHisTradeDetail:
  8427. get:
  8428. parameters:
  8429. - description: 资金账户 - 格式:1,2,3
  8430. in: query
  8431. name: accountID
  8432. required: true
  8433. type: string
  8434. - description: 成交单号
  8435. in: query
  8436. name: tradeID
  8437. type: integer
  8438. - description: 委托单号
  8439. in: query
  8440. name: orderID
  8441. type: integer
  8442. - description: 交易模式 - 格式:1,2,3
  8443. in: query
  8444. name: tradeMode
  8445. type: string
  8446. - description: 委托单据类型
  8447. in: query
  8448. name: buildType
  8449. type: integer
  8450. - description: 成交类别 - 格式:1,2,3
  8451. in: query
  8452. name: tradeType
  8453. type: string
  8454. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  8455. in: query
  8456. name: startDate
  8457. type: string
  8458. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  8459. in: query
  8460. name: endDate
  8461. type: string
  8462. produces:
  8463. - application/json
  8464. responses:
  8465. "200":
  8466. description: OK
  8467. schema:
  8468. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  8469. "500":
  8470. description: Internal Server Error
  8471. schema:
  8472. $ref: '#/definitions/app.Response'
  8473. security:
  8474. - ApiKeyAuth: []
  8475. summary: 历史成交单查询(合约市场)
  8476. tags:
  8477. - 通用单据
  8478. /Order/QueryHisTradeOrderDetail:
  8479. get:
  8480. parameters:
  8481. - description: 资金账户 - 格式:1,2,3
  8482. in: query
  8483. name: accountID
  8484. required: true
  8485. type: string
  8486. - description: 交易模式 - 格式:1,2,3
  8487. in: query
  8488. name: tradeMode
  8489. type: string
  8490. - description: 委托状态 - 格式:1,2,3
  8491. in: query
  8492. name: orderStatus
  8493. type: string
  8494. - description: 委托单号
  8495. in: query
  8496. name: orderID
  8497. type: integer
  8498. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  8499. in: query
  8500. name: startDate
  8501. type: string
  8502. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  8503. in: query
  8504. name: endDate
  8505. type: string
  8506. produces:
  8507. - application/json
  8508. responses:
  8509. "200":
  8510. description: OK
  8511. schema:
  8512. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  8513. "500":
  8514. description: Internal Server Error
  8515. schema:
  8516. $ref: '#/definitions/app.Response'
  8517. security:
  8518. - ApiKeyAuth: []
  8519. summary: 历史委托单查询请求(合约市场)
  8520. tags:
  8521. - 通用单据
  8522. /Order/QueryTradeDetail:
  8523. get:
  8524. parameters:
  8525. - description: 资金账户 - 格式:1,2,3
  8526. in: query
  8527. name: accountID
  8528. required: true
  8529. type: string
  8530. - description: 成交单号
  8531. in: query
  8532. name: tradeID
  8533. type: integer
  8534. - description: 委托单号
  8535. in: query
  8536. name: orderID
  8537. type: integer
  8538. - description: 交易模式 - 格式:1,2,3
  8539. in: query
  8540. name: tradeMode
  8541. type: string
  8542. - description: 委托单据类型
  8543. in: query
  8544. name: buildType
  8545. type: integer
  8546. - description: 成交类别 - 格式:1,2,3
  8547. in: query
  8548. name: tradeType
  8549. type: string
  8550. produces:
  8551. - application/json
  8552. responses:
  8553. "200":
  8554. description: OK
  8555. schema:
  8556. $ref: '#/definitions/order.QueryTradeDetailRsp'
  8557. "500":
  8558. description: Internal Server Error
  8559. schema:
  8560. $ref: '#/definitions/app.Response'
  8561. security:
  8562. - ApiKeyAuth: []
  8563. summary: 成交单查询(合约市场)
  8564. tags:
  8565. - 通用单据
  8566. /Order/QueryTradeOrderDetail:
  8567. get:
  8568. parameters:
  8569. - description: 资金账户 - 格式:1,2,3
  8570. in: query
  8571. name: accountID
  8572. required: true
  8573. type: string
  8574. - description: 交易模式 - 格式:1,2,3
  8575. in: query
  8576. name: tradeMode
  8577. type: string
  8578. - description: 委托状态 - 格式:1,2,3
  8579. in: query
  8580. name: orderStatus
  8581. type: string
  8582. - description: 委托单号
  8583. in: query
  8584. name: orderID
  8585. type: integer
  8586. produces:
  8587. - application/json
  8588. responses:
  8589. "200":
  8590. description: OK
  8591. schema:
  8592. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  8593. "500":
  8594. description: Internal Server Error
  8595. schema:
  8596. $ref: '#/definitions/app.Response'
  8597. security:
  8598. - ApiKeyAuth: []
  8599. summary: 委托单查询请求(合约市场)
  8600. tags:
  8601. - 通用单据
  8602. /Order/QueryTradePosition:
  8603. get:
  8604. parameters:
  8605. - description: 资金账户 - 格式:1,2,3
  8606. in: query
  8607. name: accountID
  8608. required: true
  8609. type: string
  8610. - description: 交易模式 - 格式:1,2,3
  8611. in: query
  8612. name: tradeMode
  8613. type: string
  8614. produces:
  8615. - application/json
  8616. responses:
  8617. "200":
  8618. description: OK
  8619. schema:
  8620. $ref: '#/definitions/order.QueryTradePositionRsp'
  8621. "500":
  8622. description: Internal Server Error
  8623. schema:
  8624. $ref: '#/definitions/app.Response'
  8625. security:
  8626. - ApiKeyAuth: []
  8627. summary: 持仓汇总查询(合约市场)
  8628. tags:
  8629. - 通用单据
  8630. /Quote/QueryHistoryDatas:
  8631. get:
  8632. parameters:
  8633. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  8634. 日线 10: Tik'
  8635. in: query
  8636. name: cycleType
  8637. required: true
  8638. type: integer
  8639. - description: 商品代码
  8640. in: query
  8641. name: goodsCode
  8642. required: true
  8643. type: string
  8644. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  8645. in: query
  8646. name: startTime
  8647. type: string
  8648. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  8649. in: query
  8650. name: endTime
  8651. type: string
  8652. - description: 条数
  8653. in: query
  8654. name: count
  8655. type: integer
  8656. - description: 是否按时间顺序排序(默认为时间倒序排序)
  8657. in: query
  8658. name: isAsc
  8659. type: boolean
  8660. produces:
  8661. - application/json
  8662. responses:
  8663. "200":
  8664. description: OK
  8665. schema:
  8666. $ref: '#/definitions/quote.HistoryData'
  8667. "500":
  8668. description: Internal Server Error
  8669. schema:
  8670. $ref: '#/definitions/app.Response'
  8671. security:
  8672. - ApiKeyAuth: []
  8673. summary: 查询行情历史数据
  8674. tags:
  8675. - 行情服务
  8676. /Quote/QueryTSData:
  8677. get:
  8678. parameters:
  8679. - description: 商品代码
  8680. in: query
  8681. name: GoodsCode
  8682. required: true
  8683. type: string
  8684. produces:
  8685. - application/json
  8686. responses:
  8687. "200":
  8688. description: OK
  8689. schema:
  8690. $ref: '#/definitions/quote.QueryTSDataRsp'
  8691. "500":
  8692. description: Internal Server Error
  8693. schema:
  8694. $ref: '#/definitions/app.Response'
  8695. summary: 分时图数据查询
  8696. tags:
  8697. - 行情服务
  8698. /SZDZ/QueryConvertConfig:
  8699. get:
  8700. parameters:
  8701. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8702. 6:交易转花生米(不设置)
  8703. in: query
  8704. name: convertType
  8705. type: integer
  8706. - description: 外部商品代码[JD\PD]
  8707. in: query
  8708. name: outerGoodsCode
  8709. type: string
  8710. - description: 内部商品ID列表[交易],格式:1,2,3
  8711. in: query
  8712. name: innerGoodsIDs
  8713. type: string
  8714. produces:
  8715. - application/json
  8716. responses:
  8717. "200":
  8718. description: OK
  8719. schema:
  8720. $ref: '#/definitions/models.Szdz3convertconfig'
  8721. "500":
  8722. description: Internal Server Error
  8723. schema:
  8724. $ref: '#/definitions/app.Response'
  8725. security:
  8726. - ApiKeyAuth: []
  8727. summary: 查询交易系统转换设置
  8728. tags:
  8729. - 定制【尚志大宗】
  8730. /SZDZ/QueryConvertLog:
  8731. get:
  8732. parameters:
  8733. - description: 资金账户 - 格式:1,2,3
  8734. in: query
  8735. name: accountID
  8736. required: true
  8737. type: string
  8738. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8739. in: query
  8740. name: startDate
  8741. type: string
  8742. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8743. in: query
  8744. name: endDate
  8745. type: string
  8746. produces:
  8747. - application/json
  8748. responses:
  8749. "200":
  8750. description: OK
  8751. schema:
  8752. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  8753. "500":
  8754. description: Internal Server Error
  8755. schema:
  8756. $ref: '#/definitions/app.Response'
  8757. security:
  8758. - ApiKeyAuth: []
  8759. summary: 交易系统转换流水查询
  8760. tags:
  8761. - 定制【尚志大宗】
  8762. /SZDZ/QueryGoodsPickup:
  8763. get:
  8764. parameters:
  8765. - description: 资金账户 - 格式:1,2,3
  8766. in: query
  8767. name: accountID
  8768. required: true
  8769. type: string
  8770. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8771. in: query
  8772. name: takeOrderStatus
  8773. type: integer
  8774. produces:
  8775. - application/json
  8776. responses:
  8777. "200":
  8778. description: OK
  8779. schema:
  8780. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  8781. "500":
  8782. description: Internal Server Error
  8783. schema:
  8784. $ref: '#/definitions/app.Response'
  8785. security:
  8786. - ApiKeyAuth: []
  8787. summary: 商品提货单查询
  8788. tags:
  8789. - 定制【尚志大宗】
  8790. /SZDZ/QueryRecieptOrder:
  8791. get:
  8792. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8793. parameters:
  8794. - description: 页码
  8795. in: query
  8796. name: page
  8797. type: integer
  8798. - description: 每页条数
  8799. in: query
  8800. name: pagesize
  8801. type: integer
  8802. - description: 商品ID
  8803. in: query
  8804. name: goodsID
  8805. required: true
  8806. type: integer
  8807. - description: 所属账户名称
  8808. in: query
  8809. name: accountName
  8810. type: string
  8811. - description: 市场ID
  8812. in: query
  8813. name: marketID
  8814. type: integer
  8815. - description: 方向 - 0:买 1:卖
  8816. in: query
  8817. name: buyorsell
  8818. required: true
  8819. type: integer
  8820. produces:
  8821. - application/json
  8822. responses:
  8823. "200":
  8824. description: OK
  8825. schema:
  8826. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  8827. "500":
  8828. description: Internal Server Error
  8829. schema:
  8830. $ref: '#/definitions/app.Response'
  8831. security:
  8832. - ApiKeyAuth: []
  8833. summary: 点选挂牌委托单据查询(摘牌大厅)
  8834. tags:
  8835. - 定制【尚志大宗】
  8836. /SZDZ/QuerySZDZTradePosition:
  8837. get:
  8838. parameters:
  8839. - description: 资金账户
  8840. in: query
  8841. name: accountID
  8842. required: true
  8843. type: integer
  8844. produces:
  8845. - application/json
  8846. responses:
  8847. "200":
  8848. description: OK
  8849. schema:
  8850. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  8851. "500":
  8852. description: Internal Server Error
  8853. schema:
  8854. $ref: '#/definitions/app.Response'
  8855. security:
  8856. - ApiKeyAuth: []
  8857. summary: 持仓汇总查询(尚志大宗)
  8858. tags:
  8859. - 定制【尚志大宗】
  8860. /SZDZ/SearchWhite:
  8861. get:
  8862. parameters:
  8863. - description: 用户ID
  8864. in: query
  8865. name: userID
  8866. required: true
  8867. type: integer
  8868. produces:
  8869. - application/json
  8870. responses:
  8871. "200":
  8872. description: OK
  8873. schema:
  8874. $ref: '#/definitions/models.Szdz3searchwhitelist'
  8875. "500":
  8876. description: Internal Server Error
  8877. schema:
  8878. $ref: '#/definitions/app.Response'
  8879. security:
  8880. - ApiKeyAuth: []
  8881. summary: 搜索白名单
  8882. tags:
  8883. - 定制【尚志大宗】
  8884. /Search/SearchGoodses:
  8885. get:
  8886. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  8887. parameters:
  8888. - description: 检索内容
  8889. in: query
  8890. name: content
  8891. required: true
  8892. type: string
  8893. - description: 交易模式,格式:1,2,3
  8894. in: query
  8895. name: tradeModes
  8896. type: string
  8897. produces:
  8898. - application/json
  8899. responses:
  8900. "200":
  8901. description: OK
  8902. schema:
  8903. $ref: '#/definitions/models.SearchGoods'
  8904. "500":
  8905. description: Internal Server Error
  8906. schema:
  8907. $ref: '#/definitions/app.Response'
  8908. summary: 检索商品信息
  8909. tags:
  8910. - 检索服务
  8911. /TaAccount/QueryAmountLog:
  8912. get:
  8913. parameters:
  8914. - description: 页码
  8915. in: query
  8916. name: page
  8917. type: integer
  8918. - description: 每页条数
  8919. in: query
  8920. name: pagesize
  8921. type: integer
  8922. - description: 资金账户 - 格式:1,2,3
  8923. in: query
  8924. name: accountID
  8925. required: true
  8926. type: string
  8927. - description: 资金操作类型 - 格式:1,2,3
  8928. in: query
  8929. name: OperateType
  8930. type: string
  8931. produces:
  8932. - application/json
  8933. responses:
  8934. "200":
  8935. description: OK
  8936. schema:
  8937. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  8938. "500":
  8939. description: Internal Server Error
  8940. schema:
  8941. $ref: '#/definitions/app.Response'
  8942. security:
  8943. - ApiKeyAuth: []
  8944. summary: 资金流水查询(当前)
  8945. tags:
  8946. - 资金账户
  8947. /TaAccount/QueryHisAmountLog:
  8948. get:
  8949. parameters:
  8950. - description: 页码
  8951. in: query
  8952. name: page
  8953. type: integer
  8954. - description: 每页条数
  8955. in: query
  8956. name: pagesize
  8957. type: integer
  8958. - description: 资金账户 - 格式:1,2,3
  8959. in: query
  8960. name: accountID
  8961. required: true
  8962. type: string
  8963. - description: 资金操作类型 - 格式:1,2,3
  8964. in: query
  8965. name: OperateType
  8966. type: string
  8967. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  8968. in: query
  8969. name: startDate
  8970. type: string
  8971. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  8972. in: query
  8973. name: endDate
  8974. type: string
  8975. produces:
  8976. - application/json
  8977. responses:
  8978. "200":
  8979. description: OK
  8980. schema:
  8981. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  8982. "500":
  8983. description: Internal Server Error
  8984. schema:
  8985. $ref: '#/definitions/app.Response'
  8986. security:
  8987. - ApiKeyAuth: []
  8988. summary: 资金流水查询(历史)
  8989. tags:
  8990. - 资金账户
  8991. /Trade/QueryRecieptOrder:
  8992. get:
  8993. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8994. parameters:
  8995. - description: 页码
  8996. in: query
  8997. name: page
  8998. type: integer
  8999. - description: 每页条数
  9000. in: query
  9001. name: pagesize
  9002. type: integer
  9003. - description: 商品ID
  9004. in: query
  9005. name: goodsID
  9006. required: true
  9007. type: integer
  9008. - description: 所属账户名称
  9009. in: query
  9010. name: accountName
  9011. type: string
  9012. - description: 市场ID
  9013. in: query
  9014. name: marketID
  9015. type: integer
  9016. - description: 方向 - 0:买 1:卖
  9017. in: query
  9018. name: buyorsell
  9019. required: true
  9020. type: integer
  9021. produces:
  9022. - application/json
  9023. responses:
  9024. "200":
  9025. description: OK
  9026. schema:
  9027. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  9028. "500":
  9029. description: Internal Server Error
  9030. schema:
  9031. $ref: '#/definitions/app.Response'
  9032. security:
  9033. - ApiKeyAuth: []
  9034. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  9035. tags:
  9036. - 通用交易
  9037. /User/AddMessageBoard:
  9038. post:
  9039. parameters:
  9040. - description: 用户ID
  9041. in: query
  9042. name: userID
  9043. required: true
  9044. type: integer
  9045. - description: 留言信息
  9046. in: query
  9047. name: message
  9048. required: true
  9049. type: string
  9050. produces:
  9051. - application/json
  9052. responses:
  9053. "200":
  9054. description: OK
  9055. schema:
  9056. $ref: '#/definitions/app.Response'
  9057. "500":
  9058. description: Internal Server Error
  9059. schema:
  9060. $ref: '#/definitions/app.Response'
  9061. security:
  9062. - ApiKeyAuth: []
  9063. summary: 添加用户留言板信息
  9064. tags:
  9065. - 用户信息
  9066. /User/AddUserFavoriteGoods:
  9067. post:
  9068. parameters:
  9069. - description: 用户ID
  9070. in: query
  9071. name: userID
  9072. required: true
  9073. type: integer
  9074. - description: 商品ID
  9075. in: query
  9076. name: goodsID
  9077. required: true
  9078. type: integer
  9079. produces:
  9080. - application/json
  9081. responses:
  9082. "200":
  9083. description: OK
  9084. schema:
  9085. $ref: '#/definitions/app.Response'
  9086. "500":
  9087. description: Internal Server Error
  9088. schema:
  9089. $ref: '#/definitions/app.Response'
  9090. security:
  9091. - ApiKeyAuth: []
  9092. summary: 添加用户商品收藏信息
  9093. tags:
  9094. - 用户信息
  9095. /User/GetLoginID:
  9096. get:
  9097. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  9098. parameters:
  9099. - description: 登录代码
  9100. in: query
  9101. name: username
  9102. required: true
  9103. type: string
  9104. produces:
  9105. - application/json
  9106. responses:
  9107. "200":
  9108. description: OK
  9109. schema:
  9110. $ref: '#/definitions/app.Response'
  9111. "500":
  9112. description: Internal Server Error
  9113. schema:
  9114. $ref: '#/definitions/app.Response'
  9115. summary: 获取登录ID
  9116. tags:
  9117. - 用户信息
  9118. /User/GetUserAccount:
  9119. get:
  9120. parameters:
  9121. - description: 用户ID
  9122. in: query
  9123. name: userID
  9124. required: true
  9125. type: integer
  9126. produces:
  9127. - application/json
  9128. responses:
  9129. "200":
  9130. description: OK
  9131. schema:
  9132. $ref: '#/definitions/models.Useraccount'
  9133. "500":
  9134. description: Internal Server Error
  9135. schema:
  9136. $ref: '#/definitions/app.Response'
  9137. security:
  9138. - ApiKeyAuth: []
  9139. summary: 获取用户账号信息
  9140. tags:
  9141. - 用户信息
  9142. /User/GetUserAuthStatus:
  9143. get:
  9144. parameters:
  9145. - description: 用户ID
  9146. in: query
  9147. name: userID
  9148. required: true
  9149. type: integer
  9150. produces:
  9151. - application/json
  9152. responses:
  9153. "200":
  9154. description: OK
  9155. schema:
  9156. $ref: '#/definitions/app.Response'
  9157. "500":
  9158. description: Internal Server Error
  9159. schema:
  9160. $ref: '#/definitions/app.Response'
  9161. security:
  9162. - ApiKeyAuth: []
  9163. summary: 获取用户实名认证状态
  9164. tags:
  9165. - 用户信息
  9166. /User/QueryMessageBoard:
  9167. get:
  9168. parameters:
  9169. - description: 用户ID
  9170. in: query
  9171. name: userID
  9172. required: true
  9173. type: integer
  9174. produces:
  9175. - application/json
  9176. responses:
  9177. "200":
  9178. description: OK
  9179. schema:
  9180. $ref: '#/definitions/models.Messageboard'
  9181. "500":
  9182. description: Internal Server Error
  9183. schema:
  9184. $ref: '#/definitions/app.Response'
  9185. security:
  9186. - ApiKeyAuth: []
  9187. summary: 获取用户留言板信息
  9188. tags:
  9189. - 用户信息
  9190. /User/QueryUserFavoriteGoodses:
  9191. get:
  9192. parameters:
  9193. - description: 用户ID
  9194. in: query
  9195. name: userID
  9196. required: true
  9197. type: integer
  9198. produces:
  9199. - application/json
  9200. responses:
  9201. "200":
  9202. description: OK
  9203. schema:
  9204. $ref: '#/definitions/models.Userfavoritegoods'
  9205. "500":
  9206. description: Internal Server Error
  9207. schema:
  9208. $ref: '#/definitions/app.Response'
  9209. security:
  9210. - ApiKeyAuth: []
  9211. summary: 获取用户商品收藏信息
  9212. tags:
  9213. - 用户信息
  9214. /User/QueryUserInfo:
  9215. get:
  9216. parameters:
  9217. - description: 用户ID
  9218. in: query
  9219. name: userID
  9220. required: true
  9221. type: integer
  9222. produces:
  9223. - application/json
  9224. responses:
  9225. "200":
  9226. description: OK
  9227. schema:
  9228. $ref: '#/definitions/models.Userinfo'
  9229. "500":
  9230. description: Internal Server Error
  9231. schema:
  9232. $ref: '#/definitions/app.Response'
  9233. security:
  9234. - ApiKeyAuth: []
  9235. summary: 获取用户信息
  9236. tags:
  9237. - 用户信息
  9238. /User/QueryUserReferNum:
  9239. get:
  9240. parameters:
  9241. - description: 用户ID
  9242. in: query
  9243. name: userID
  9244. required: true
  9245. type: integer
  9246. produces:
  9247. - application/json
  9248. responses:
  9249. "200":
  9250. description: OK
  9251. schema:
  9252. $ref: '#/definitions/app.Response'
  9253. "500":
  9254. description: Internal Server Error
  9255. schema:
  9256. $ref: '#/definitions/app.Response'
  9257. summary: 获取用户邀请码
  9258. tags:
  9259. - 用户信息
  9260. /User/RemoveUserFavoriteGoods:
  9261. post:
  9262. parameters:
  9263. - description: 用户ID
  9264. in: query
  9265. name: userID
  9266. required: true
  9267. type: integer
  9268. - description: 商品ID
  9269. in: query
  9270. name: goodsID
  9271. required: true
  9272. type: integer
  9273. produces:
  9274. - application/json
  9275. responses:
  9276. "200":
  9277. description: OK
  9278. schema:
  9279. $ref: '#/definitions/app.Response'
  9280. "500":
  9281. description: Internal Server Error
  9282. schema:
  9283. $ref: '#/definitions/app.Response'
  9284. security:
  9285. - ApiKeyAuth: []
  9286. summary: 移除用户商品收藏信息
  9287. tags:
  9288. - 用户信息
  9289. /WR/GetWRCategoryInfo:
  9290. get:
  9291. produces:
  9292. - application/json
  9293. responses:
  9294. "200":
  9295. description: OK
  9296. schema:
  9297. $ref: '#/definitions/models.WRCategoryTree'
  9298. "500":
  9299. description: Internal Server Error
  9300. schema:
  9301. $ref: '#/definitions/app.Response'
  9302. summary: 获取现货分类信息
  9303. tags:
  9304. - 仓单服务
  9305. /WRTrade/GetAllDeliveryGoods:
  9306. get:
  9307. produces:
  9308. - application/json
  9309. - application/json
  9310. responses:
  9311. "200":
  9312. description: OK
  9313. schema:
  9314. $ref: '#/definitions/app.Response'
  9315. "500":
  9316. description: Internal Server Error
  9317. schema:
  9318. $ref: '#/definitions/app.Response'
  9319. security:
  9320. - ApiKeyAuth: []
  9321. - ApiKeyAuth: []
  9322. summary: 获取带仓单分类的种类信息
  9323. tags:
  9324. - 仓单贸易
  9325. - 仓单贸易
  9326. securityDefinitions:
  9327. ApiKeyAuth:
  9328. in: header
  9329. name: Authorization
  9330. type: apiKey
  9331. swagger: "2.0"